summaryrefslogtreecommitdiff
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2021-06-01 15:07:59 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-01 15:58:05 -0700
commit05fc8b6cbd4f979a6f25759c4a17dd5f657f7ecd (patch)
tree79d371e6863c76af7cba97aa92fb4b6972cf899f /net/tls/tls_main.c
parentf336d0b93ae978f12c5e27199f828da89b91e56a (diff)
downloadlwn-05fc8b6cbd4f979a6f25759c4a17dd5f657f7ecd.tar.gz
lwn-05fc8b6cbd4f979a6f25759c4a17dd5f657f7ecd.zip
net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
RCU synchronization is guaranteed to finish in finite time, unlike a busy loop that polls a flag. This patch is a preparation for the bugfix in the next patch, where the same synchronize_net() call will also be used to sync with the TX datapath. Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions