commit | b537916ca5107c3a8714b8ab3099c0ec205aec12 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sun Feb 09 11:29:15 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Feb 09 11:32:10 2020 -0700 |
tree | f4ae546e80055b395dd871aaeb1e70b96a582d3f | |
parent | 6ab231448fdc5e37c15a94a4700fca11e80007f7 [diff] |
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>