commit | ebfcd8955c0b52eb793bcbc9e71140e3d0cdb228 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Dec 09 20:58:56 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 10 16:33:23 2019 -0700 |
tree | 09f98f4fd317b1a146576e62c700dfd6ef1a4931 | |
parent | 53108d476a105ab2597d7a4e6040b127829391b5 [diff] |
net: make socket read/write_iter() honor IOCB_NOWAIT 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>