freebsd-skq/sys
kp bf7a58e32f arswitch: Ensure the lock is always held when calling arswitch_modifyreg()
arswitch_setled() and a number of _global_setup functions did not acquire the
lock before calling arswitch_modifyreg(). With WITNESS enabled this would
instantly panic.

Discovered on a TPLink-3600:
("panic: mutex arswitch not owned at sys/dev/etherswitch/arswitch/arswitch_reg.c:236")

Reviewed by:	adrian, kan
Differential Revision:	https://reviews.freebsd.org/D9187
2017-01-15 10:21:25 +00:00
..
amd64 Coalesce TLB shootdowns of global PTEs in pmap_advise() on x86. 2017-01-10 21:52:48 +00:00
arm Use the new sdhci_fdt_gpio helper functions to add full support for FDT 2017-01-09 01:57:51 +00:00
arm64 Migrate e1000 to the IFLIB framework: 2017-01-10 03:23:22 +00:00
boot Use proper prototypes in struct boot_module_t 2017-01-11 20:00:24 +00:00
bsm
cam Improve CAM_CDB_POINTER support. 2017-01-13 08:31:55 +00:00
cddl Have DTrace handle faults when dereferencing a lock object pointer. 2017-01-11 01:18:06 +00:00
compat Use getsock_cap() instead of fgetsock(). 2017-01-06 04:38:38 +00:00
conf Purge surprise change to sys/conf/files for ixgbe(4). 2017-01-12 17:18:25 +00:00
contrib Get rid of a compiler warning which I saw too often. 2017-01-12 00:01:02 +00:00
crypto libmd: add noexec stack annotation in skein_block_asm.s 2017-01-07 19:26:25 +00:00
ddb Revert r311952. 2017-01-14 22:06:25 +00:00
dev arswitch: Ensure the lock is always held when calling arswitch_modifyreg() 2017-01-15 10:21:25 +00:00
fs tmpfs: manage tm_pages_used with atomics 2017-01-14 06:20:36 +00:00
gdb
geom Report random flash storage as non-rotating to GEOM_DISK. 2017-01-12 08:53:10 +00:00
gnu Add Ingenic X1000 DTS files (unofficial). 2016-11-19 15:03:49 +00:00
i386 Add comment explaining relative order of sched_unpin() and mtx_unlock(). 2017-01-14 19:35:36 +00:00
isa
kern Revert r312119 and reword the intent to fix -Wshadow issues 2017-01-15 09:25:33 +00:00
kgssapi
libkern libkern: Remove obsolete 'register' keyword 2017-01-12 17:02:29 +00:00
mips [ar71xx] add EARLY_PRINTF support for the rest of the non-AR933x SoCs. 2017-01-15 06:35:00 +00:00
modules Deprecate kernel configuration option EM_MULTIQUEUE now that the em(4) 2017-01-12 14:38:18 +00:00
net Fix hangs in a uniprocessor configuration (qemu, virtualbox, real hw). 2017-01-15 00:50:10 +00:00
net80211 [net80211] add a macro to check this configuration option. 2017-01-13 07:24:58 +00:00
netgraph Changes to allow the patching of packets with an offset (and other changes.. see man page) 2016-12-02 10:47:10 +00:00
netinet Use getsock_cap() instead of deprecated fgetsock(). 2017-01-13 16:54:44 +00:00
netinet6 Release the ND6 list lock before making a prefix off-link in nd6_timer(). 2017-01-08 18:46:00 +00:00
netipsec Add direction argument to ipsec_setspidx_inpcb() function. 2017-01-08 12:40:07 +00:00
netnatm
netpfil In dummynet(4), random chunks of memory are casted to struct dn_*, 2017-01-09 20:51:51 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto Add support for the fpu_kern(9) KPI on arm64. It hooks into the existing 2016-10-20 09:22:10 +00:00
pc98 Add a COMPAT_FREEBSD11 kernel option. 2016-12-09 18:54:12 +00:00
powerpc Force all TOC references in asm to include '@toc' 2017-01-11 02:21:34 +00:00
riscv Disable superpages reservations as we don't have implemented them yet. 2016-11-21 12:00:31 +00:00
rpc
security Audit 'fd' and 'cmd' arguments to fcntl(2), and when generating BSM, 2016-11-22 00:41:24 +00:00
sparc64 Trim a few comments on platforms that did not implement mmap of /dev/kmem. 2017-01-13 21:52:53 +00:00
sys Fix a minor typo (Seiral) 2017-01-15 08:05:00 +00:00
teken
tests
tools Replace using of objdump with elfdump 2017-01-10 18:46:40 +00:00
ufs Use type-independent formats for printing nlink_t and ino_t. 2017-01-06 16:59:33 +00:00
vm Avoid unnecessary page lookups in vm_object_madvise(). 2017-01-15 03:50:08 +00:00
x86 Remove __nonnull() attributes from x86 machine check architecture. 2017-01-13 01:39:19 +00:00
xdr
xen xen: fix IPI setup with EARLY_AP_STARTUP 2016-12-22 16:09:44 +00:00
Makefile