Hi!

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.

Jakub Kicinski (3):
  net/tls: avoid NULL-deref on resync during device removal
  net/tls: fix state removal with feature flags off
  net/tls: don't ignore netdev notifications if no TLS features

 net/tls/tls_device.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

-- 
2.21.0

Reply via email to