WSL2-Linux-Kernel/net/xdp
Ilya Maximets 01d76b5317 xdp: check device pointer before clearing
We should not call 'ndo_bpf()' or 'dev_put()' with NULL argument.

Fixes: c9b47cc1fa ("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>
2019-06-12 16:41:47 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
xdp_umem.c xdp: check device pointer before clearing 2019-06-12 16:41:47 +02:00
xdp_umem.h
xsk.c xsk: fix to reject invalid flags in xsk_bind 2019-03-08 21:17:06 +01:00
xsk.h
xsk_diag.c
xsk_queue.c
xsk_queue.h xsk: fix XDP socket ring buffer memory ordering 2019-04-16 20:13:10 -07:00