From cc75f8514db6a3aec517760fccaf954e5b46478c Mon Sep 17 00:00:00 2001 From: William Tu Date: Mon, 31 Jul 2017 14:40:50 -0700 Subject: 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 Signed-off-by: David S. Miller --- samples/bpf/test_tunnel_bpf.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'samples/bpf/test_tunnel_bpf.sh') 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 -- cgit