freebsd-dev/sys
Alan Somers d9fa2d67eb Fix panic during lagg destruction with simultaneous status check
If you run "ifconfig lagg0 destroy" and "ifconfig lagg0" at the same time a
page fault may result. The first process will destroy ifp->if_lagg in
lagg_clone_destroy (called by if_clone_destroy). Then the second process
will observe that ifp->if_lagg is NULL at the top of lagg_port_ioctl and
goto fallback: where it will promptly dereference ifp->if_lagg anyway.

The solution is to repeat the NULL check for ifp->if_lagg

MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D8512
2016-12-16 22:39:30 +00:00
..
amd64 Enable EARLY_AP_STARTUP on amd64 and i386 kernels by default. 2016-12-16 21:10:37 +00:00
arm Honor the CLK_SET_DRYRUN for the *set_freq function for allwinner clocks. 2016-12-16 21:58:48 +00:00
arm64 Enable ACPI on arm64. It's not yet functional, but it will help keeping the 2016-12-12 18:13:03 +00:00
boot Add -fPIC to the ubldr build. Without this the self relocation code will 2016-12-15 17:36:54 +00:00
bsm
cam Add label annotations to CAM sysctls. 2016-12-14 12:53:33 +00:00
cddl Remove extra DOF_SEC_XLIMPORT from the DOF_SEC_ISLOADABLE macro 2016-12-16 20:44:14 +00:00
compat linuxkpi: Fix not-found case of linux_pci_find_irq_dev 2016-12-13 19:58:21 +00:00
conf Add WITH_REPRODUCIBLE_BUILD src.conf(5) knob to disable kernel metadata 2016-12-15 21:26:58 +00:00
contrib Add a FREEBSD-Xlist file for CK. 2016-11-28 21:16:03 +00:00
crypto Add accelerated AES with using the ARMv8 crypto instructions. This is based 2016-11-21 11:18:00 +00:00
ddb Use casts to force an unsigned comparison in db_search_symbol(). 2016-12-14 00:18:12 +00:00
dev [spigen] Make "data" part of spigen_transfer optional 2016-12-16 19:09:57 +00:00
fs When tmpfs and POSIX shm pagein a page for the sole purpose of performing 2016-12-11 19:24:41 +00:00
gdb
geom Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
gnu
i386 Enable EARLY_AP_STARTUP on amd64 and i386 kernels by default. 2016-12-16 21:10:37 +00:00
isa
kern Switch from stdatomic.h to atomic.h for kernel. 2016-12-16 17:41:20 +00:00
kgssapi
libkern Update r309143 to prevent false sharing. 2016-11-25 17:20:23 +00:00
mips Add support for Ingenic JZ4780 SMBus controller. 2016-12-16 20:04:56 +00:00
modules cxgbe(4): Update firmwares from version 1.16.12.0 to 1.16.22.0. 2016-12-06 12:43:07 +00:00
net Fix panic during lagg destruction with simultaneous status check 2016-12-16 22:39:30 +00:00
net80211 [net80211] sigh, course I would miss a commit from the 11ac prep commit. 2016-12-16 04:44:14 +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 We currently don't do TSO if ip options are present. In case of IPv6, we look at 2016-12-11 23:14:47 +00:00
netinet6 Modify IPv6 statistic accounting in ip6_input(). 2016-12-12 11:26:59 +00:00
netipsec Add a missing header 2016-11-26 23:15:11 +00:00
netnatm
netpfil Improve upon r309394 2016-12-10 03:31:38 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98 Add a COMPAT_FREEBSD11 kernel option. 2016-12-09 18:54:12 +00:00
powerpc Fix disassembly by adding back some deleted lines. 2016-12-16 04:47:29 +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 Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
sys Add __scanflike attributes to the kernel's sscanf() and vsscanf() 2016-12-16 19:49:22 +00:00
teken
tests
tools
ufs Release laundered vnode pages to the head of the inactive queue. 2016-11-23 17:53:07 +00:00
vm Provide introductory description of the default pager. 2016-12-14 23:36:32 +00:00
x86 Don't run the MCA record refill task during boot. 2016-12-14 19:00:08 +00:00
xdr
xen
Makefile