]> 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>
Sun, 10 Jan 2021 09:10:29 +0000 (09:10 +0000)
commitaf352cf1397fd3ada7d565c4a52c71b71ea2b3b3
tree7db8cd1a7ce833324634a3d2c28f2c0506372cf7
parente6d98805103c51dc384ad0708e66642ce4a6746f
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
Differential Revision: https://reviews.freebsd.org/D27980

(cherry picked from commit 163f4f15733f82584a967538cf2340bf1b6a245f)
tools/tools/netmap/bridge.c