aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2023-07-26 19:15:55 +0000
committerJakub Kicinski <[email protected]>2023-07-28 02:49:35 +0000
commitf9ae3204fb45d0749befc1cdff50f691c7461e5a (patch)
tree3ec4363dd2721ddcc6a62f7619b45b8160e98482 /net/tls/tls_main.c
parentnet/tls: Use tcp_read_sock() instead of ops->read_sock() (diff)
downloadkernel-f9ae3204fb45d0749befc1cdff50f691c7461e5a.tar.gz
kernel-f9ae3204fb45d0749befc1cdff50f691c7461e5a.zip
net/tls: split tls_rx_reader_lock
Split tls_rx_reader_{lock,unlock} into an 'acquire/release' and the actual locking part. With that we can use the tls_rx_reader_lock in situations where the socket is already locked. Suggested-by: Sagi Grimberg <[email protected]> Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions