]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
It is not safe to use m_copypacket() here as the returned mbuf is readonly,
authorAndrew Thompson <thompsa@FreeBSD.org>
Thu, 15 Dec 2005 19:34:39 +0000 (19:34 +0000)
committerAndrew Thompson <thompsa@FreeBSD.org>
Thu, 15 Dec 2005 19:34:39 +0000 (19:34 +0000)
commit7536320f62c6ffdfacf224eec55a6d640bfd6ade
tree840f4d79baf643c5749b6c28f7ae1ff2e7be624d
parent04ddb211d5c282d7152e70af776fb3e2bd849bf0
It is not safe to use m_copypacket() here as the returned mbuf is readonly,
change to m_dup and keep the alignment on the layer3 header.

MFC after: 1 week
sys/net/if_bridge.c