[openib-general] 2.6.12 Kernel OpenIB support
Roland Dreier
rolandd at cisco.com
Fri Jul 15 13:48:30 PDT 2005
Tom> It seems to be happening at line 479 of arping.c:
Tom> memset(he.sll_addr, -1, he.sll_halen);
Tom> where he.sll_addr is 8 big, he.sll_halen is 20
Tom> So, yeah.
Tom> Should struct sockaddr_ll be modified in
Tom> include/linux/if_packet.h to accommodate larger addresses?
I'm not sure what the right solution is yet. Long term I guess
sockaddr_ll should grow. I think that right now the address is being
cut off -- so arping.c can probably be fixed by replacing all uses of
foo.sll_halen with min(foo.sll_halen, sizeof foo.sll_addr).
- R.
More information about the general
mailing list