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.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general