aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/secure_seq.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-04-04 22:56:55 +0000
committerDavid S. Miller <[email protected]>2017-04-06 01:46:40 +0000
commitc383bdd14f91562babd269aa7c36b46fee7b6c75 (patch)
treef46a23718a949591f4161dadc902368452d7858f /net/core/secure_seq.c
parenttcp: fix reordering SNMP under-counting (diff)
downloadkernel-c383bdd14f91562babd269aa7c36b46fee7b6c75.tar.gz
kernel-c383bdd14f91562babd269aa7c36b46fee7b6c75.zip
nfp: fix potential use after free on xdp prog
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: ecd63a0217d5 ("nfp: add XDP support in the driver") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/secure_seq.c')
0 files changed, 0 insertions, 0 deletions