diff options
author | Hannes Reinecke <hare@suse.de> | 2023-07-26 22:15:55 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-28 05:49:35 +0300 |
commit | f9ae3204fb45d0749befc1cdff50f691c7461e5a (patch) | |
tree | 3ec4363dd2721ddcc6a62f7619b45b8160e98482 /net/ethtool | |
parent | 11863c6d440d34c4b967e517739b38a7e68ed092 (diff) | |
download | linux-f9ae3204fb45d0749befc1cdff50f691c7461e5a.tar.xz |
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 <sagi@grimberg.me>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230726191556.41714-6-hare@suse.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions