[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190522020202.4792-1-jakub.kicinski@netronome.com>
Date: Tue, 21 May 2019 19:01:59 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com,
borisp@...lanox.com, alexei.starovoitov@...il.com,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net 0/3] net/tls: fix device surprise removal with offload
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
Powered by blists - more mailing lists