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

Vijay Singh vijju.singh at gmail.com
Mon Jul 1 12:26:57 UTC 2013


If you enable OFED, then the llentry size is expanded to store IB addresses
as well. Code should be in 9.x.

-vijay


On Mon, Jul 1, 2013 at 4:49 PM, Andrey V. Elsukov <bu7cher at yandex.ru> wrote:

> Hi,
>
> 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
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list