linux_dsm_epyc7002/drivers/crypto/chelsio
Atul Gupta 76f7164d02 net/tls: free ctx in sock destruct
free tls context in sock destruct. close may not be the last
call to free sock but force releasing the ctx in close
will result in GPF when ctx referred again in tcp_done

[  515.330477] general protection fault: 0000 [#1] SMP PTI
[  515.330539] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.20.0-rc7+ #10
[  515.330657] Hardware name: Supermicro X8ST3/X8ST3, BIOS 2.0b
11/07/2013
[  515.330844] RIP: 0010:tls_hw_unhash+0xbf/0xd0
[
[  515.332220] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  515.332340] CR2: 00007fab32c55000 CR3: 000000009261e000 CR4:
00000000000006e0
[  515.332519] Call Trace:
[  515.332632]  <IRQ>
[  515.332793]  tcp_set_state+0x5a/0x190
[  515.332907]  ? tcp_update_metrics+0xe3/0x350
[  515.333023]  tcp_done+0x31/0xd0
[  515.333130]  tcp_rcv_state_process+0xc27/0x111a
[  515.333242]  ? __lock_is_held+0x4f/0x90
[  515.333350]  ? tcp_v4_do_rcv+0xaf/0x1e0
[  515.333456]  tcp_v4_do_rcv+0xaf/0x1e0

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-22 11:30:54 -08:00
..
chtls net/tls: free ctx in sock destruct 2019-01-22 11:30:54 -08:00
chcr_algo.c crypto: skcipher - remove remnants of internal IV generators 2018-12-23 11:52:45 +08:00
chcr_algo.h crypto: chelsio - Swap location of AAD and IV sent in WR 2018-12-23 11:52:43 +08:00
chcr_core.c crypto: chelsio - Fix wrong error counter increments 2018-12-23 11:52:43 +08:00
chcr_core.h crypto: chelsio - Handle PCI shutdown event 2018-12-23 11:52:43 +08:00
chcr_crypto.h crypto: chelsio - Swap location of AAD and IV sent in WR 2018-12-23 11:52:43 +08:00
chcr_ipsec.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-12-27 13:53:32 -08:00
Kconfig crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00
Makefile crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00