summaryrefslogtreecommitdiffstats
path: root/samples/bpf/lwt_len_hist.sh
diff options
context:
space:
mode:
authorPrashant Bhole <prashantbhole.linux@gmail.com>2019-06-20 15:58:15 +0900
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-24 15:56:56 +0200
commit20f6239d494b2ec7fcc9930eaab3e736a6a9419e (patch)
tree3f27dfa815127e390de915280f1061ec43c88ba1 /samples/bpf/lwt_len_hist.sh
parente4f07120210a1794c1f1ae64d209a2fbc7bd2682 (diff)
downloadlinux-20f6239d494b2ec7fcc9930eaab3e736a6a9419e.tar.bz2
samples/bpf: xdp_redirect, correctly get dummy program id
When we terminate xdp_redirect, it ends up with following message: "Program on iface OUT changed, not removing" This results in dummy prog still attached to OUT interface. It is because signal handler checks if the programs are the same that we had attached. But while fetching dummy_prog_id, current code uses prog_fd instead of dummy_prog_fd. This patch passes the correct fd. Fixes: 3b7a8ec2dec3 ("samples/bpf: Check the prog id before exiting") Signed-off-by: Prashant Bhole <prashantbhole.linux@gmail.com> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/lwt_len_hist.sh')
0 files changed, 0 insertions, 0 deletions