summaryrefslogtreecommitdiffstats
path: root/block/bounce.c
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-06-06 23:38:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 01:08:18 +0200
commit04cfac4e40b2b5dbaf8c0fc625878388a98bb9c6 (patch)
treebead85900cf46216b7f0ccdaaf2e0d43d73f61f9 /block/bounce.c
parentmm: convert some level-less printks to pr_* (diff)
downloadlinux-04cfac4e40b2b5dbaf8c0fc625878388a98bb9c6.tar.xz
linux-04cfac4e40b2b5dbaf8c0fc625878388a98bb9c6.zip
nbd: zero from and len fields in NBD_CMD_DISCONNECT.
Len field is already set to zero, but not the from field which is sent as 0xfffffffffffffe00. This makes no sense, and may cause confuse server implementations doing sanity checks (qemu-nbd is an example.) Signed-off-by: Hani Benhabiles <hani@linux.com> Cc: Paul Clements <paul.clements@us.sios.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 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions