kernel-ark/drivers/block
Mike Snitzer ffc41cf8db nbd: prevent sock_xmit from attempting to use a NULL socket
NBD does not protect the nbd_device's socket from becoming NULL during
receives.

This closes a race with the NBD_CLEAR_SOCK ioctl (nbd-client -d) setting
the nbd_device's socket to NULL right before NBD calls sock_xmit.

Signed-off-by: Mike Snitzer <snitzer@gmail.com>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-02 15:28:19 -07:00
..
aoe
paride
amiflop.c
ataflop.c
brd.c
cciss_cmd.h
cciss_scsi.c resubmit: cciss: procfs updates to display info about many 2008-03-04 11:14:39 +01:00
cciss_scsi.h
cciss.c cciss: remove READ_AHEAD define and use block layer defaults 2008-03-04 11:28:43 +01:00
cciss.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c block: floppy: fix rmmod lockup 2008-03-13 13:11:43 -07:00
ida_cmd.h
ida_ioctl.h
Kconfig The ps2esdi driver was marked as BROKEN more than two years ago due to being 2008-03-17 09:03:05 +01:00
loop.c
Makefile The ps2esdi driver was marked as BROKEN more than two years ago due to being 2008-03-17 09:03:05 +01:00
nbd.c nbd: prevent sock_xmit from attempting to use a NULL socket 2008-04-02 15:28:19 -07:00
pktcdvd.c pktcdvd: reduce stack consumption 2008-03-04 16:35:12 -08:00
ps3disk.c
smart1,2.h
sunvdc.c
swim3.c
sx8.c
ub.c
umem.c
umem.h
viodasd.c [POWERPC] Fix viodasd driver with scatterlist debug 2008-03-13 10:09:28 +11:00
virtio_blk.c virtio: Fix sysfs bits to have proper block symlink 2008-03-17 22:58:15 +11:00
xd.c
xd.h
xen-blkfront.c
xsysace.c
z2ram.c