diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-12-10 06:58:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-09 12:17:52 +0300 |
commit | f42504ab0aec92b757468bb3cf4fa345d6ff822d (patch) | |
tree | 91d81434cdc64beabcb7905b12abaf0062d73947 /drivers | |
parent | fbff45d2413eb11a0534b3faf9b00636b21337c3 (diff) | |
download | linux-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