opnsense-src/sys/dev/cxgbe
Julien Charbon 23d903a783 cxgbe/netmap: Fix cxgbe netmap when interface is DOWN
A kernel panic can occur if the cxgbe interface is DOWN
when activating netmap. This patch prevents the driver
from freeing up cxgbe netmap resources when they have not
been allocated.

Submitted by:	Nicolas Witkowski <nwitkowski@verisign.com>
Reviewed by:	np
MFC after:	1 week
Sponsored by:	Verisign, Inc.
Differential Revision:	https://reviews.freebsd.org/D17802
2018-11-12 17:57:12 +00:00
..
common cxgbe(4): Link related changes. 2018-09-25 05:52:42 +00:00
crypto Add support for "plain" (non-HMAC) SHA digests. 2018-10-29 22:24:31 +00:00
cudbg cxgbe(4): Fix unsafe mailbox access in cudbg. 2017-11-21 01:18:58 +00:00
cxgbei epoch(9): allow preemptible epochs to compose 2018-07-04 02:47:16 +00:00
firmware cxgbe(4): Enable support for per-connection rate limiting in the default 2018-09-26 21:16:07 +00:00
iw_cxgbe cxgbe/iw_cxgbe: Suppress spurious "Unexpected streaming data ..." 2018-11-02 16:21:44 +00:00
tom Use tcp_state_change() in the cxgbe(4) TOE module. 2018-11-09 21:16:45 +00:00
adapter.h Add a facility for transmitting "raw" work requests on regular NIC queues. 2018-11-06 00:11:36 +00:00
if_cc.c cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will 2016-09-16 00:08:37 +00:00
if_ccv.c cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will 2016-09-16 00:08:37 +00:00
if_cxl.c cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as 2015-02-06 01:10:04 +00:00
if_cxlv.c Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
offload.h cxgbe(4): Use two hashes instead of a table to keep track of 2018-08-15 03:03:01 +00:00
osdep.h cxgbe(4): Link related changes. 2018-09-25 05:52:42 +00:00
t4_filter.c cxgbe(4): Allow "pass" filters to distribute matching traffic using a 2018-10-25 14:37:26 +00:00
t4_if.m Use the port device name for the iov device for Chelsio T4/T5 cards. 2016-08-03 17:11:08 +00:00
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 cxgbe(4): Update the VF device ids too. This should have been part 2017-05-05 16:52:25 +00:00
t4_l2t.c cxgbe(4): Reuse existing "switching" L2T entries when possible. 2018-09-22 01:24:30 +00:00
t4_l2t.h cxgbe(4): Reuse existing "switching" L2T entries when possible. 2018-09-22 01:24:30 +00:00
t4_main.c Treat the memory lengths for CHELSIO_T4_GET_MEM as unsigned. 2018-11-06 22:33:36 +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 cxgbe(4): major tx rework. 2014-12-31 23:19:16 +00:00
t4_netmap.c cxgbe/netmap: Fix cxgbe netmap when interface is DOWN 2018-11-12 17:57:12 +00:00
t4_sched.c cxgbe(4): Make it clear that VI_INIT_DONE implies vi->ntxq > 0, and so 2018-08-21 21:42:17 +00:00
t4_sge.c Add a facility for transmitting "raw" work requests on regular NIC queues. 2018-11-06 00:11: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): Updates to the VF driver to cope with recent ifmedia and 2018-08-23 00:58:10 +00:00