SUNRPC: Fix potential races in xprt_lock_write_next()
Trond Myklebust authored

We have to ensure that the wake up from the waitqueue and the assignment
of xprt->snd_task are atomic. We can do this by assigning the snd_task
while under the waitqueue spinlock.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
961a828d
Name Last commit Last update
..
acpi Merge branches 'atomicio-apei', 'hotplug', 'sony-nvs-nosave' and 'thermal-netlink' into release
asm-generic Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers
crypto crypto: serpent-sse2 - add lrw support
drm drm: Fix authentication kernel crash
keys keys: add a "logon" key type
linux SUNRPC: Fix potential races in xprt_lock_write_next()
math-emu math-emu: correct test for downshifting fraction in _FP_FROM_INT()
media Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
misc [media] altera-stapl: it is time to move out from staging
mtd mtd: document that MEMWRITE ioctl is NAND-specific
net net/tcp: Fix tcp memory limits initialization when !CONFIG_SYSCTL
pcmcia Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
rdma rdma/core: Fix sparse warnings
rxrpc atomic: use <linux/atomic.h>
scsi [SCSI] libfc: Declare local functions static
sound Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
target target: Set additional sense length field in sense data
trace Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
video Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers
xen Merge branch 'for-3.3/drivers' of git://git.kernel.dk/linux-block
Kbuild [SCSI] FC Pass Thru support