freebsd-skq/sys
kadesai 995803036d In the passthru IOCTL path, the mfi command pool was freely accessible N times
where as there are limited number(32) of mfi commands in the pool.
The mfi command pool is now restricted to 27 simultaneous accesses by using
a counting semaphore while calling the passthru function.

In the mrsas_cam.c source file there was a same function name mrsas_poll(),
which was same as the mrsas_poll() implemented in the mrsas.c file for the
polling interface.
To clearly distinguish the functionality by usage we have renamed the former
as mrsas_cam_poll().

In the passthru function let's say it has got an mfi command from the pool
but it has failed in one of the DMA function call which will lead to leak
an mfi command because in the ERROR case it directly returns and not freeing up
the occupied mfi command.

Reviewed by:	ambrisko
MFC after:	2 weeks
Sponsored by:	AVAGO Technologies
2014-10-08 09:37:47 +00:00
..
amd64 Inject #UD into the guest when it executes either 'MONITOR' or 'MWAIT'. 2014-10-06 20:48:01 +00:00
arm Add driver for Synopsys DesignWare Mobile Storage Host Controller. 2014-10-07 17:39:30 +00:00
boot Add driver for Synopsys DesignWare Mobile Storage Host Controller. 2014-10-07 17:39:30 +00:00
bsm
cam Add support for WRITE ATOMIC (16) command and report SBC-4 compliance. 2014-10-08 07:48:36 +00:00
cddl l2arc_write_buffers: reduce headroom value 2014-10-07 16:08:21 +00:00
compat Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
conf Add explicit_bzero(3) and its kernel counterpart. 2014-10-07 04:54:11 +00:00
contrib ipfilter bug #537 NAT rules with sticky have incorrect hostmap IP address. 2014-10-05 03:58:30 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
dev In the passthru IOCTL path, the mfi command pool was freely accessible N times 2014-10-08 09:37:47 +00:00
fs devfs: tidy up after 272596 2014-10-06 07:22:48 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Fix a bug in r272297 which prevented dumpdev from setting. 2014-10-03 04:13:25 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 Call initializecpucache() on the BSP for i386 in the !XEN case. This was 2014-10-06 15:43:57 +00:00
isa
kern Make kern.nswbuf tunable from loader. 2014-10-07 20:13:47 +00:00
kgssapi
libkern Add explicit_bzero(3) and its kernel counterpart. 2014-10-07 04:54:11 +00:00
mips Fix the AR724x PCIe glue to correctly probe the BAR on AR7240 devices. 2014-09-28 07:27:58 +00:00
modules Fix the minor svn add issue. $FreeBSD$ expands at the time of 2014-10-08 09:30:35 +00:00
net Our packet filters use mbuf's rcvif pointer to determine incoming interface. 2014-10-07 13:31:04 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph Use callout(9) instead of timeout(9). 2014-09-20 16:43:14 +00:00
netinet Implement PLPMTUD blackhole detection (RFC 4821), inspired by code 2014-10-07 21:50:28 +00:00
netinet6 Fix a bug introduced in 2014-10-07 16:01:17 +00:00
netipsec Do not strip outer header when operating in transport mode. 2014-10-02 02:00:21 +00:00
netnatm
netpfil Improve r272609 (O_TCPOPTS). 2014-10-06 12:29:06 +00:00
netsmb
nfs Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfsclient Avoid an exclusive acquisition of the object lock on the expected execution 2014-09-14 18:07:55 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm
ofed Fix compile warning when compiling with GCC. 2014-10-07 10:04:25 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
powerpc Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
sys Bump __FreeBSD_version for the addition of explicit_bzero(3). 2014-10-07 04:54:47 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide the unique implementation for the VOP_GETPAGES() method used 2014-09-15 12:28:29 +00:00
vm Change the UMA mutex into a rwlock 2014-10-05 21:34:56 +00:00
x86 Fix build for i386 kernels with out 'I686_CPU'. 2014-10-06 18:11:05 +00:00
xdr
xen xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00