diff options
author | John Fastabend <[email protected]> | 2019-07-19 10:29:17 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-07-22 16:04:16 +0200 |
commit | 313ab004805cf52a42673b15852b3842474ccd87 (patch) | |
tree | ee1ce348c4d631d6495ba2f8f2190c37c7c37d06 /lib/mpi/mpi-cmp.c | |
parent | f87e62d45e51b12d48d2cb46b5cde8f83b866bc4 (diff) |
net/tls: remove sock unlock/lock around strp_done()
The tls close() callback currently drops the sock lock to call
strp_done(). Split up the RX cleanup into stopping the strparser
and releasing most resources, syncing strparser and finally
freeing the context.
To avoid the need for a strp_done() call on the cleanup path
of device offload make sure we don't arm the strparser until
we are sure init will be successful.
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Dirk van der Merwe <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions