John Fastabend 313ab00480 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 <john.fastabend@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2019-07-22 16:04:16 +02:00
..
2019-07-09 12:11:59 -07:00
2019-01-23 11:18:00 -08:00
2019-04-19 14:07:40 -07:00
2019-06-14 20:20:07 -07:00
2018-09-13 09:04:58 -07:00
2018-09-25 20:17:35 -07:00
2018-05-16 07:23:35 +02:00
2019-04-22 21:47:25 -07:00
2019-07-08 19:25:19 -07:00
2019-05-31 08:34:32 -07:00
2019-06-19 11:23:13 -04:00
2019-06-19 11:23:13 -04:00