diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2019-06-07 20:27:32 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-12 17:41:47 +0300 |
commit | 01d76b5317003e019ace561a9b775f51aafdfdc4 (patch) | |
tree | c448c473facb63750752105547c5b79576bd9b78 /include | |
parent | f12dd75959b0138f94da8ddcf43f2f3cf277216d (diff) | |
download | linux-01d76b5317003e019ace561a9b775f51aafdfdc4.tar.xz |
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 'include')
0 files changed, 0 insertions, 0 deletions