mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
We should unregister the net_device first, before we give back
our reference on xdp_prog. Otherwise xdp_prog may be freed
before .ndo_stop() disabled the datapath. Found by code inspection.
Fixes:
|
||
|---|---|---|
| .. | ||
| nfpcore | ||
| Makefile | ||
| nfp_asm.h | ||
| nfp_bpf_jit.c | ||
| nfp_bpf_verifier.c | ||
| nfp_bpf.h | ||
| nfp_main.c | ||
| nfp_main.h | ||
| nfp_net_common.c | ||
| nfp_net_ctrl.h | ||
| nfp_net_debugfs.c | ||
| nfp_net_ethtool.c | ||
| nfp_net_main.c | ||
| nfp_net_offload.c | ||
| nfp_net.h | ||
| nfp_netvf_main.c | ||