On Fri, 2005-07-15 at 14:31, Tom Duffy wrote: > On Fri, 2005-07-15 at 10:38 -0700, Roland Dreier wrote: > > Tom> Hrm, my arping on Fedora Core 4 now does real bad stuff: > > > > Is it allocating a buffer as big as an ethernet address and then > > trying to put a 20-byte IPoIB address in it? > > It seems to be happening at line 479 of arping.c: > > memset(he.sll_addr, -1, he.sll_halen); > > where he.sll_addr is 8 big, he.sll_halen is 20 > > So, yeah. > > BTW, FC4 compiles with -Wp,-D_FORTIFY_SOURCE=2 so it is now catching it. > > Should struct sockaddr_ll be modified in include/linux/if_packet.h to > accommodate larger addresses?
There will be other problems beyond that, right ? Won't we be back to the sending of link level packets from user space again ? -- Hal _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
