On Mon, 2006-08-07 at 13:34 -0700, Stephen Hemminger wrote: > After reading: > http://bugzilla.kernel.org/show_bug.cgi?id=6693 > > I noticed there were stupid uses of packed attribute in several network > headers. > > Silly offenders: include/net/ipx.h > include/net/ieee80211.h > include/net/ip6_tunnel.h > include/net/ndisc.h > include/linux/if_ether.h > include/linux/if_fddi.h > > include/linux/sctp.h -- really bad
All the structures in sctp.h that use packed atrribute define standard on-wire SCTP chunk/parameter formats. They need to be at the exact offsets as they go on wire. I think we saw some issues without the packed attribute on 64-bit archs and just to be safe we added packed to all the on-wire structures. Thanks Sridhar - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html