freebsd-dev/sys
Zbigniew Bodek bb2295eb2c Fix race condition in its_cmd_send()
its_cmd_send() can be called by multiple CPUs simultaneously.
After the command is pushed to ITS command ring the completion
status is polled using global pointer to the next free ring slot.
Use copied pointer and provide correct locking to avoid spurious
pointer value when concurrent access occurs.

Obtained from: Semihalf
Sponsored by:  The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3436
2015-08-26 12:32:46 +00:00
..
amd64 Import ioat(4) driver 2015-08-24 19:32:03 +00:00
arm Leave hypervisor mode upon startup on ARMv7 2015-08-25 14:49:11 +00:00
arm64 Fix race condition in its_cmd_send() 2015-08-26 12:32:46 +00:00
boot The flags -mno-aes -mno-avx only exist for clang, not gcc, so 2015-08-20 18:31:05 +00:00
bsm
cam Remove some code duplication by using biofinish(). 2015-08-22 15:58:35 +00:00
cddl MFV (partial) r286889: 5692 expose the number of hole blocks in a file 2015-08-24 09:48:50 +00:00
compat Don't forget to invoke pre_execve() and post_execve(). 2015-08-17 13:07:12 +00:00
conf Add an option to select which SoCs we are building for. It is intended to 2015-08-26 11:36:23 +00:00
contrib Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Only access the Samsung registers when targeting Samsung hardware. 2015-08-26 10:54:14 +00:00
fs Make it possible to forcibly unmount devfs. 2015-08-24 14:04:44 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
gnu Using consistent coding style to deal with error inside the loop. 2015-08-18 13:16:23 +00:00
i386 preload_search_info: make sure mod is set 2015-08-21 15:57:57 +00:00
isa
kern Make vfs_unmountall() unmount /dev after /, not before. The only 2015-08-24 13:18:13 +00:00
kgssapi
libkern Remove checks for __ARM_EABI__, we only build for EABI now. 2015-07-09 21:02:40 +00:00
mips Enable hardfloat for assembly generation. 2015-08-24 19:09:56 +00:00
modules Import ioat(4) driver 2015-08-24 19:32:03 +00:00
net Fix the spelling of eri's name. 2015-08-24 23:40:36 +00:00
net80211 Reset the channel to the first available channel if the interface 2015-08-23 01:17:52 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet Revert r284245: "Fix a callout race condition introduced in TCP 2015-08-24 09:30:27 +00:00
netinet6 Call the new RSS hash calculation function to correctly calculate a hash 2015-08-25 06:12:59 +00:00
netipsec Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
netnatm
netpfil Reapply r196551 which was accidentally reverted by r223637 (update to 2015-08-24 21:41:05 +00:00
netsmb
nfs
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed Reinstate unify_tcp_port_space and associated code that was lost during 2015-08-12 22:09:58 +00:00
opencrypto Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
pc98 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
powerpc The Freescale qoriq PCIe controller is compatible with mpc85xx. 2015-08-26 03:37:33 +00:00
rpc Set curvnet context inside the RPC code in more places. 2015-08-18 18:12:46 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Make vfs_unmountall() unmount /dev after /, not before. The only 2015-08-24 13:18:13 +00:00
teken Sync HPA and VPA implementations with CUP. 2015-08-24 07:49:27 +00:00
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm Testing whether a page is dirty does not require the page lock. Moreover, 2015-08-25 01:01:25 +00:00
x86 preload_search_info: make sure mod is set 2015-08-21 15:57:57 +00:00
xdr
xen xen: allow disabling PV disks and nics 2015-08-21 15:53:08 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00