commit | 35fbf5bcf497d6ddbe7b6478141e7526d1474ff5 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Sat May 28 14:44:46 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat May 28 14:44:46 2011 +0200 |
tree | 1f2ecd1038aa175fd6a1086e06665cc134e13f56 | |
parent | 6df87e65dbe4528ef07b917af89913abb8caaaba [diff] |
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: Namhyung Kim <namhyung@gmail.com> Cc: Paul Clements <Paul.Clements@steeleye.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>