diff options
author | 2019-07-19 10:29:14 -0700 | |
---|---|---|
committer | 2019-07-22 16:04:16 +0200 | |
commit | 318892ac068397f40ff81d9155898da01493b1d2 (patch) | |
tree | a16b6ee38d52cdfd8fff38bc9f703290b96c2f59 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: sanitize VAR to conservative 1-byte INT (diff) | |
download | linux-dev-318892ac068397f40ff81d9155898da01493b1d2.tar.xz linux-dev-318892ac068397f40ff81d9155898da01493b1d2.zip |
net/tls: don't arm strparser immediately in tls_set_sw_offload()
In tls_set_device_offload_rx() we prepare the software context
for RX fallback and proceed to add the connection to the device.
Unfortunately, software context prep includes arming strparser
so in case of a later error we have to release the socket lock
to call strp_done().
In preparation for not releasing the socket lock half way through
callbacks move arming strparser into a separate function.
Following patches will make use of that.
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions