diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-12-09 20:58:56 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-12-10 16:33:23 -0700 |
commit | ebfcd8955c0b52eb793bcbc9e71140e3d0cdb228 (patch) | |
tree | 09f98f4fd317b1a146576e62c700dfd6ef1a4931 /tools/perf | |
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>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions