freebsd-dev/sys/dev/cxgbe
Navdeep Parhar 7ba6f5493d cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized.
This fixes the following panic:
--- trap 0xc, rip = 0xffffffff80c00411, rsp = 0xfffffe0025192840, rbp = 0xfffffe0025192860 ---
vmem_xfree() at vmem_xfree+0xd1/frame 0xfffffe0025192860
tls_uninit_toep() at tls_uninit_toep+0x78/frame 0xfffffe0025192880
free_toepcb() at free_toepcb+0x32/frame 0xfffffe00251928a0
t4_connect() at t4_connect+0x3be/frame 0xfffffe0025192950
tcp_offload_connect() at tcp_offload_connect+0xa4/frame 0xfffffe0025192990
tcp_usr_connect() at tcp_usr_connect+0xec/frame 0xfffffe00251929f0
soconnect() at soconnect+0xae/frame 0xfffffe0025192a30
kern_connectat() at kern_connectat+0xe2/frame 0xfffffe0025192a90
sys_connect() at sys_connect+0x75/frame 0xfffffe0025192ad0
amd64_syscall() at amd64_syscall+0x137/frame 0xfffffe0025192bf0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0025192bf0
--- syscall (98, FreeBSD ELF64, sys_connect), rip = 0x8008e9d8a, rsp = 0x7fffffffc0f8, rbp = 0x7fffffffc130 ---

Reviewed by:	jhb@
MFC after:	3 days
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D23989
2020-03-06 19:56:12 +00:00
..
common cxgbe(4): Congestion drops are maintained per E-channel and not per 2020-02-19 00:48:58 +00:00
crypto Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
cudbg cxgbe(4): Fix unsafe mailbox access in cudbg. 2017-11-21 01:18:58 +00:00
cxgbei Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
firmware cxgbe(4): Update T4/5/6 firmwares to 1.24.12.0. 2020-02-12 02:55:06 +00:00
iw_cxgbe Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tom cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized. 2020-03-06 19:56:12 +00:00
adapter.h Rename TOE TLS stats from [rt]x_tls_* to [rt]x_toe_tls_*. 2020-02-28 00:42:27 +00:00
if_cc.c
if_ccv.c
if_cxl.c
if_cxlv.c
offload.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
osdep.h cxgbe(4): Add adapter information to messages logged by the OS-agnostic 2019-01-29 00:49:12 +00:00
t4_clip.c cxgbe(4): Do not issue mbox commands after t4_fw_bye. 2018-12-19 19:21:29 +00:00
t4_clip.h Move CLIP table handling out of TOM and into the base driver. 2018-11-29 01:15:53 +00:00
t4_filter.c Always allocate the atid table during attach. 2019-10-22 20:01:47 +00:00
t4_if.m
t4_ioctl.h cxgbe(4): Allow "pass" filters to distribute matching traffic using a 2018-10-25 14:37:26 +00:00
t4_iov.c cxgbev(4): Catch up with the pciids in the PF driver. 2019-11-15 18:48:14 +00:00
t4_l2t.c NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_l2t.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_main.c Rename TOE TLS stats from [rt]x_tls_* to [rt]x_toe_tls_*. 2020-02-28 00:42:27 +00:00
t4_mp_ring.c cxgbe(4): Use fcmpset instead of cmpset when appropriate. 2018-08-23 16:24:27 +00:00
t4_mp_ring.h
t4_netmap.c cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by 2020-02-05 00:13:15 +00:00
t4_sched.c cxgbe(4): Use the _XT variant of the CPL used to transmit NIC traffic. 2019-12-13 20:38:58 +00:00
t4_sge.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
t4_smt.c cxgbe(4): Move all control queues to the adapter. 2018-08-11 21:10:08 +00:00
t4_smt.h cxgbe(4): Retire an old check. 2018-06-01 01:05:34 +00:00
t4_tracer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
t4_vf.c cxgbev(4): Catch up with the pciids in the PF driver. 2019-11-15 18:48:14 +00:00