Problem with fwip(4) and limited size ll_addr in the struct llentry

Andrey V. Elsukov bu7cher at
Mon Jul 1 11:22:35 UTC 2013


In the kern/176596 described the easy repeatable panic.
I found that it occurs, because struct llentry by default has only 8
bytes to store hardware address, but fwip(4) has 16-bytes hw address.
And it overwrites next field of struct llentry.

Since fwip(4) can be loaded in runtime, we can't use #ifdefs with
increased size here. So, what the best way to fix this?

WBR, Andrey V. Elsukov

More information about the freebsd-net mailing list