aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/semaphore.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@gmail.com>2008-04-02 16:04:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-02 18:28:19 -0400
commitffc41cf8dbb1b895a87daf47d0e5bf6dfbfcab4c (patch)
tree465f41f6c4e0e63c58a94c893d0b4ec5c5e7a10d /include/asm-m32r/semaphore.h
parentf2b2ea692ec01768c77a4f532dcd060316460122 (diff)
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>
Diffstat (limited to 'include/asm-m32r/semaphore.h')
0 files changed, 0 insertions, 0 deletions
>269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
















































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
‰PNG