]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netmap: bridge: fix NS_MOREFRAG support
authorVincenzo Maffione <vmaffione@FreeBSD.org>
Thu, 7 Jan 2021 07:00:43 +0000 (07:00 +0000)
committerVincenzo Maffione <vmaffione@FreeBSD.org>
Thu, 7 Jan 2021 07:05:57 +0000 (07:05 +0000)
commit163f4f15733f82584a967538cf2340bf1b6a245f
tree97543a00cbcbc51e45932a50e24216ec0b232e10
parent710dd05c0efc36fceac8e95a2457b57cc1b4c4e2
netmap: bridge: fix NS_MOREFRAG support

Support for NS_MOREFRAG is broken, as NS_MOREFRAG is copied from
the TX slot to the RX slot rather than the other way around.
Also, the NS_MOREFRAG must be copied also in case of packet
copy (no zerocopy).

Reported by: rajesh1.kumar_amd.com
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D27980
tools/tools/netmap/bridge.c