]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-tls-fix-device-surprise-removal-with-offload'
authorDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2019 19:21:44 +0000 (12:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2019 19:21:44 +0000 (12:21 -0700)
commitcae06dbead11397356e5b0e05803cf3ba046f0cd
tree752d5cfd6c2b21e9b7e5e2f3b035940db70e4086
parentafb53482afc11a5e26f529c2eda5653b672073e5
parentb6d4ab3668a835e86f70eb442c8df48214442a42
Merge branch 'net-tls-fix-device-surprise-removal-with-offload'

Jakub Kicinski says:

====================
net/tls: fix device surprise removal with offload

This series fixes two issues with device surprise removal.
First we need to take a read lock around resync, otherwise
netdev notifier handler may clear the structures from under
our feet.

Secondly we need to be careful about the interpretation
of device features.  Offload has to be properly cleaned
up even if the TLS device features got cleared after
connection state was installed.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>