Re: [PATCH] io_uring/net: fix netmsg_cache iovec leak on BIND and CONNECT
Yang Xiuwei <[email protected]>
| Newsgroups | org.kernel.vger.io-uring |
|---|---|
| Message-ID | <[email protected]> |
Hi Jens,
Please drop this patch.
After rebasing on the latest io_uring tree, I noticed that this issue
has already been fixed upstream by:
3979840cd858 ("io_uring/net: Avoid msghdr on op_connect/op_bind async data")
BIND and CONNECT no longer allocate async data from netmsg_cache via
io_msg_alloc_async(). They now use struct sockaddr_storage directly, so
the iovec leak path described in my patch no longer exists. My fix is
also incorrect on the current code base.
Sorry for the noise.
Thanks,
Yang Xiuwei