summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-10 06:58:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-09 12:17:52 +0300
commitf42504ab0aec92b757468bb3cf4fa345d6ff822d (patch)
tree91d81434cdc64beabcb7905b12abaf0062d73947 /drivers
parentfbff45d2413eb11a0534b3faf9b00636b21337c3 (diff)
downloadlinux-f42504ab0aec92b757468bb3cf4fa345d6ff822d.tar.xz
net: make socket read/write_iter() honor IOCB_NOWAIT
[ Upstream commit ebfcd8955c0b52eb793bcbc9e71140e3d0cdb228 ] The socket read/write helpers only look at the file O_NONBLOCK. not the iocb IOCB_NOWAIT flag. This breaks users like preadv2/pwritev2 and io_uring that rely on not having the file itself marked nonblocking, but rather the iocb itself. Cc: netdev@vger.kernel.org Acked-by: David Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions