diff options
author | 2019-06-07 20:27:32 +0300 | |
---|---|---|
committer | 2019-06-12 16:41:47 +0200 | |
commit | 01d76b5317003e019ace561a9b775f51aafdfdc4 (patch) | |
tree | c448c473facb63750752105547c5b79576bd9b78 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: net: Set sk_bpf_storage back to NULL for cloned sk (diff) | |
download | wireguard-linux-01d76b5317003e019ace561a9b775f51aafdfdc4.tar.xz wireguard-linux-01d76b5317003e019ace561a9b775f51aafdfdc4.zip |
xdp: check device pointer before clearing
We should not call 'ndo_bpf()' or 'dev_put()' with NULL argument.
Fixes: c9b47cc1fabc ("xsk: fix bug when trying to use both copy and zero-copy on one queue id")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions