diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2019-02-21 17:05:39 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-22 16:21:59 +0100 |
commit | 915654fd718c2366871b19f8c6687e61909db911 (patch) | |
tree | f80fe5dae9fe4dc35db88369f64bf9183152644f /crypto/gf128mul.c | |
parent | e80d02dd763093f70c3000ef34253a6d426becf6 (diff) |
samples/bpf: Fix dummy program unloading for xdp_redirect samples
The xdp_redirect and xdp_redirect_map sample programs both load a dummy
program onto the egress interfaces. However, the unload code checks these
programs against the wrong id number, and thus refuses to unload them. Fix
the comparison to avoid this.
Fixes: 3b7a8ec2dec3 ("samples/bpf: Check the prog id before exiting")
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'crypto/gf128mul.c')
0 files changed, 0 insertions, 0 deletions