cvs commit: src/sys/net if_bridge.c

Max Laier max at love2party.net
Thu Aug 11 22:33:16 GMT 2005


On Thursday 11 August 2005 22:57, Andrew Thompson wrote:
> thompsa     2005-08-11 20:57:59 UTC
>
>   FreeBSD src repository
>
>   Modified files:        (Branch: RELENG_6)
>     sys/net              if_bridge.c
>   Log:
>   MFC: if_bridge.c, r.1.5
>
>   > Use m_copypacket() which is an optimization of the common case
>   > m_copym(m, 0, M_COPYALL, how).
>   >
>   > This is required for strict alignment architectures where we align the
>   > IP header in the input path but m_copym() will create an unaligned copy
>   > in bridge_broadcast(). m_copypacket() preserves alignment of the first
>   > mbuf.

I guess we should document this difference between m_copym and m_copypacket ?!

>   > Noticed by:     Petri Simolin
>   > Approved by:    mlaier (mentor)
>
>   Approved by:    re (kensmith), mlaier (mentor)
>
>   Revision  Changes    Path
>   1.11.2.4  +2 -2      src/sys/net/if_bridge.c

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050812/6a50249c/attachment.bin


More information about the cvs-all mailing list