summaryrefslogtreecommitdiffstats
path: root/lib/checksum.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-31 19:52:15 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-01 14:11:02 -0400
commit275225fb4e3981a55b19ad0caad2eeb2821ae3d5 (patch)
treee81d0522c7d9b22b576da3399470c17fe675096d /lib/checksum.c
parent900530f3f8731606a8dfb847b7e0d467250f9665 (diff)
downloadlinux-stable-275225fb4e3981a55b19ad0caad2eeb2821ae3d5.tar.gz
linux-stable-275225fb4e3981a55b19ad0caad2eeb2821ae3d5.tar.bz2
linux-stable-275225fb4e3981a55b19ad0caad2eeb2821ae3d5.zip
selftests: forwarding: mirror_lib: skip_hw the VLAN capture
When the VLAN capture is installed on a front panel device and not a soft device, the packets are counted twice: once in fast path, and once after they are trapped to the kernel. Resolve the problem by passing skip_hw flag to vlan_capture_install(). Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions