summaryrefslogtreecommitdiff
path: root/net/tls/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-05-22 05:02:02 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-22 22:21:44 +0300
commitc3f4a6c39cf269a40d45f813c05fa830318ad875 (patch)
tree752d5cfd6c2b21e9b7e5e2f3b035940db70e4086 /net/tls/Makefile
parent3686637e507b48525fcea6fb91e1988bdbc14530 (diff)
downloadlinux-c3f4a6c39cf269a40d45f813c05fa830318ad875.tar.xz
net/tls: don't ignore netdev notifications if no TLS features
On device surprise removal path (the notifier) we can't bail just because the features are disabled. They may have been enabled during the lifetime of the device. This bug leads to leaking netdev references and use-after-frees if there are active connections while device features are cleared. Fixes: e8f69799810c ("net/tls: Add generic NIC offload infrastructure") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/Makefile')
0 files changed, 0 insertions, 0 deletions