diff options
| author | Jens Axboe <[email protected]> | 2020-11-20 14:59:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-21 23:19:08 +0000 |
| commit | 5aac0390a63b8718237a61dd0d24a29201d1c94a (patch) | |
| tree | 9b8e18b051dca28b2a2c5796f83f5990faa3018f /net/ipv6/tcp_ipv6.c | |
| parent | net/af_iucv: set correct sk_protocol for child sockets (diff) | |
| download | kernel-5aac0390a63b8718237a61dd0d24a29201d1c94a.tar.gz kernel-5aac0390a63b8718237a61dd0d24a29201d1c94a.zip | |
tun: honor IOCB_NOWAIT flag
tun only checks the file O_NONBLOCK flag, but it should also be checking
the iocb IOCB_NOWAIT flag. Any fops using ->read/write_iter() should check
both, otherwise it breaks users that correctly expect O_NONBLOCK semantics
if IOCB_NOWAIT is set.
Signed-off-by: Jens Axboe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
