diff options
author | Ilya Maximets <[email protected]> | 2019-06-07 20:27:32 +0300 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-06-12 16:41:47 +0200 |
commit | 01d76b5317003e019ace561a9b775f51aafdfdc4 (patch) | |
tree | c448c473facb63750752105547c5b79576bd9b78 /net/lapb/lapb_iface.c | |
parent | f12dd75959b0138f94da8ddcf43f2f3cf277216d (diff) |
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 <[email protected]>
Acked-by: Jonathan Lemon <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions