freebsd-nq/sys
Hans Petter Selasky e0ba1be6d7 Don't hold state lock while detaching network device instance in mlx4en(4).
It can happen during shutdown that the lock will recurse when the mlx4en(4)
instance is part of a lagg interface. Call ether_ifdetach() unlocked.

Backtrace:
panic(): _sx_xlock_hard: recursed on non-recursive sx &mdev->state_lock
_sx_xlock_hard()
_sx_xlock()
mlx4_en_ioctl()
if_setlladdr()
lagg_port_destroy()
lagg_port_ifdetach()
if_detach()
mlx4_en_destroy_netdev()
mlx4_en_remove()
mlx4_remove_device()
mlx4_unregister_device()
mlx4_unload_one()
mlx4_shutdown()
linux_pci_shutdown()
bus_generic_shutdown()

MFC after:		1 week
Sponsored by:		Mellanox Technologies
2019-03-08 09:16:29 +00:00
..
amd64 Fix typo. 2019-03-07 10:01:32 +00:00
arm arm64: allwinner: a64: Add TCON clock 2019-03-07 19:32:01 +00:00
arm64 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Reduce CTL threads priority to about PUSER. 2019-03-04 00:49:07 +00:00
cddl Improve entropy for ZFS taskqueue selection. 2019-03-07 22:56:39 +00:00
compat Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
conf arm64: allwinner: Add CCU DE2 2019-03-07 19:30:37 +00:00
contrib [ath_hal_ar9300] Add the missing bits from the previous HAL commit. 2019-03-06 08:52:02 +00:00
crypto Embedded chacha: Add 0-bit iv + 128-bit counter mode 2019-03-01 23:30:23 +00:00
ddb ddb: Print the thread's pcb in 'show thread' 2019-02-09 21:08:19 +00:00
dev Don't hold state lock while detaching network device instance in mlx4en(4). 2019-03-08 09:16:29 +00:00
dts Adapt FreeBSD specific DT stub for Jetson TK1 board to be consistent with 2019-02-06 06:03:44 +00:00
fs fuse: switch from DFLTPHYS/MAXBSIZE to maxcachebuf 2019-03-07 00:55:49 +00:00
gdb
geom Revert revision 254095 2019-03-05 04:15:34 +00:00
gnu Correct my previous correction to the license. It now matches the text 2019-03-07 22:34:45 +00:00
i386 Fix typo. 2019-03-07 10:01:32 +00:00
isa
kern Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kgssapi * Handle SIGPIPE in gssd 2019-02-21 01:30:37 +00:00
libkern Add non-sleepable strdup variant strdup_flags 2019-02-20 20:48:10 +00:00
mips Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
modules Add another required header file. 2019-03-01 04:17:43 +00:00
net Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
net80211 net80211(4): hide casts for 'i_seq' field offset calculation inside 2019-02-10 23:58:56 +00:00
netgraph Remove remnants of byte order manipulation, back when FreeBSD stack 2019-02-09 03:00:00 +00:00
netinet After removing an entry from the stream scheduler list, set the pointers 2019-03-07 08:43:20 +00:00
netinet6 Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-07 23:03:39 +00:00
netipsec
netpfil Fix the problem with O_LIMIT states introduced in r344018. 2019-03-07 04:40:44 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Fix another bug introduced during the review process of r344140: 2019-02-25 19:14:16 +00:00
powerpc powerpc64: Fix early exit with invalid kernel SLB entries 2019-03-08 04:20:33 +00:00
riscv Reorder copyright lines to preserve the source of "All rights reserved." 2019-03-06 16:50:14 +00:00
rpc Bump the default kern.rpc.gss.client_max from 128 to 1024. 2019-02-19 11:07:02 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
sys Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
teken Attempt to complete fixing programmable function keys for syscons. 2019-02-20 02:14:41 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools
ufs FFS: allow sendfile(2) to work with block sizes greater than the page size 2019-02-26 04:56:10 +00:00
vm Implement minidump support for RISC-V. 2019-03-06 00:01:06 +00:00
x86 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile