]> 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)
commit6db447193ccc74359e6eb62c966c1353e9c17d00
tree752d5cfd6c2b21e9b7e5e2f3b035940db70e4086
parent94630a1e49eab7eadecce33b0ec006d44275c4ed
parentccca321951cb7d3b130d420885578ea62ee2b1e5
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>