cvs commit: src/sys/net bridge.c

Mike Silbersack silby at silby.com
Sun Jul 3 23:41:57 GMT 2005


On Sun, 3 Jul 2005, Andrew Thompson wrote:

> thompsa     2005-07-03 18:24:03 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/net              bridge.c
>  Log:
>  Check the alignment of the IP header before passing the packet up to the
>  packet filter. This would cause a panic on architectures that require strict
>  alignment such as sparc64, ia64 and ppc.

What's the route that a packet takes before it gets to the bridge?  If it 
goes through ether_input, it would make sense to put the alignment there 
when necessary.

By the way, which network drivers are not aligning to the ip header right 
now?

Mike "Silby" Silbersack


More information about the cvs-src mailing list