diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-02-09 11:29:15 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-02-09 11:32:10 -0700 |
commit | b537916ca5107c3a8714b8ab3099c0ec205aec12 (patch) | |
tree | f4ae546e80055b395dd871aaeb1e70b96a582d3f /fs/io-wq.c | |
parent | 6ab231448fdc5e37c15a94a4700fca11e80007f7 (diff) | |
download | linux-b537916ca5107c3a8714b8ab3099c0ec205aec12.tar.gz linux-b537916ca5107c3a8714b8ab3099c0ec205aec12.tar.bz2 linux-b537916ca5107c3a8714b8ab3099c0ec205aec12.zip |
io_uring: retain sockaddr_storage across send/recvmsg async punt
Jonas reports that he sometimes sees -97/-22 error returns from
sendmsg, if it gets punted async. This is due to not retaining the
sockaddr_storage between calls. Include that in the state we copy when
going async.
Cc: stable@vger.kernel.org # 5.3+
Reported-by: Jonas Bonn <jonas@norrbonn.se>
Tested-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions