]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: fix bpf tunnel cleanup
authorWilliam Tu <u9012063@gmail.com>
Mon, 31 Jul 2017 21:40:50 +0000 (14:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 05:02:47 +0000 (22:02 -0700)
commit13fdbf05750b72926ea07c135af6650ed4d4b0a2
tree57a262222e8843ef9fef2dd3fd2d2c964821ee98
parentb5e5574d3a6921cb9795f0ae3005d21ffcef17f5
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>
samples/bpf/tcbpf2_kern.c
samples/bpf/test_tunnel_bpf.sh