Skip to content
Commit 35fbf5bc authored by Namhyung Kim's avatar Namhyung Kim Committed by Jens Axboe
Browse files

nbd: pass MSG_* flags to kernel_recvmsg()



Unlike kernel_sendmsg(), kernel_recvmsg() requires passing flags explicitly
via last parameter instead of struct msghdr.msg_flags. Therefore calls to
sock_xmit(lo, 0, ..., MSG_WAITALL) have not been processed properly by tcp
layer wrt. the flag. Fix it.

Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 6df87e65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment