This small series fixes a use-after-free bug in the TLS offload code.
The first patch is a preparation for the second one, and the second is
the fix itself.
v2 changes:
Remove unneeded EXPORT_SYMBOL_GPL.
Maxim Mikityanskiy (2):
net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
net/tls: Fix use-after-free after the TLS device goes down and up
include/net/tls.h | 10 +++++-
net/tls/tls_device.c | 60 ++++++++++++++++++++++++++++-------
net/tls/tls_device_fallback.c | 7 ++++
net/tls/tls_main.c | 1 +
4 files changed, 66 insertions(+), 12 deletions(-)
--
2.25.1