1
0
Files
linux/drivers
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
..
2008-03-30 14:20:24 -07:00
2008-03-23 20:28:20 +01:00
2008-03-30 14:18:41 -07:00
2008-04-02 09:33:53 -07:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-03-28 12:32:22 -05:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-03-24 22:26:15 -07:00
2008-03-30 14:20:23 -07:00
2008-03-04 16:35:12 -08:00