aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/test_tunnel_bpf.sh
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2017-07-31 14:40:50 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-31 22:02:47 -0700
commitcc75f8514db6a3aec517760fccaf954e5b46478c (patch)
tree57a262222e8843ef9fef2dd3fd2d2c964821ee98 /samples/bpf/test_tunnel_bpf.sh
parentudp6: fix jumbogram reception (diff)
downloadlinux-dev-cc75f8514db6a3aec517760fccaf954e5b46478c.tar.xz
linux-dev-cc75f8514db6a3aec517760fccaf954e5b46478c.zip
samples/bpf: fix bpf tunnel cleanup
test_tunnel_bpf.sh fails to remove the vxlan11 tunnel device, causing the next geneve tunnelling test case fails. In addition, the geneve reserved bit in tcbpf2_kern.c should be zero, according to the RFC. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rwxr-xr-xsamples/bpf/test_tunnel_bpf.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/test_tunnel_bpf.sh b/samples/bpf/test_tunnel_bpf.sh
index 1ff634f187b7..a70d2ea90313 100755
--- a/samples/bpf/test_tunnel_bpf.sh
+++ b/samples/bpf/test_tunnel_bpf.sh
@@ -149,6 +149,7 @@ function cleanup {
ip link del veth1
ip link del ipip11
ip link del gretap11
+ ip link del vxlan11
ip link del geneve11
pkill tcpdump
pkill cat