Page MenuHomeFreeBSD

lltable: fix ddb show llentry l3_addr pretty printer
ClosedPublic

Authored by rcm on Oct 17 2023, 2:12 PM.
Tags
None
Referenced Files
F85240829: D42253.id128929.diff
Mon, Jun 3, 2:06 PM
F85240826: D42253.id128926.diff
Mon, Jun 3, 2:06 PM
F85240821: D42253.id128933.diff
Mon, Jun 3, 2:06 PM
Unknown Object (File)
Fri, May 24, 8:24 PM
Unknown Object (File)
Tue, May 7, 1:19 AM
Unknown Object (File)
Sun, May 5, 8:12 PM
Unknown Object (File)
May 4 2024, 5:33 AM
Unknown Object (File)
May 4 2024, 5:13 AM

Details

Summary

The ddb commands for lltable do not produce useful l3_addr information.

This fixes the llentry pretty printer to correctly display the l3_addr

Sponsored by: Rubicon Communications, LLC ("Netgate")

Test Plan

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

rcm requested review of this revision.Oct 17 2023, 2:12 PM
sys/net/if_llatbl.c
1093

It might be worth NULL-checking lle->lle_tbl here first.

Perform NULL-check on lle->lle_tbl

rcm marked an inline comment as done.

typo

Add missing \n on the l3_addr format string

LGTM.

I'll give melifaro@ a little more time to comment before I push this.

This revision is now accepted and ready to land.Oct 17 2023, 3:52 PM
This revision was automatically updated to reflect the committed changes.