m_copypacket in if_bridge
sten at blinkenlights.nl
Wed Dec 14 00:39:04 PST 2005
On Wed, 14 Dec 2005, Andrew Thompson wrote:
> I have realised that if_bridge uses m_copypacket() in an unsafe way.
> The copied multicast packet is sent back into ether_input for local
> processing so that ipv6 works but m_copypacket() returns a readonly
> mbuf. The layer3 header needs to be aligned so I have changed this to
> Can I get a review to ensure this is the correct fix
This certainly looks like a reasonable fix.
Thanks for making life better for sparc and alpha :)
"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem
More information about the freebsd-net