The commit 49c47cc21b5b (net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()) fixes race condition and use after free. This patch didn't apply cleanly in 5.15 kernel due to the added switch cases in do_tls_getsockopt_conf function.
Hangyu Hua (1): net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
net/tls/tls_main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)