diff options
| author | Gabriel Krisman Bertazi <krisman@suse.de> | 2026-06-02 17:53:24 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-06-02 17:43:06 -0600 |
| commit | 3979840cd858f30f43ea9f4e7f7f1f56de82d698 (patch) | |
| tree | 69c3620c5ceb5b4b8c6cdd0685c879a4f4d44e5a /include/linux | |
| parent | ec02fe217fa66d79f8a65e8d28be9295c7f85093 (diff) | |
io_uring/net: Avoid msghdr on op_connect/op_bind async data
Both IORING_OP_CONNECT and IORING_OP_BIND reuse the msghdr object just
to store the sockaddr. Beyond allocating a much larger object than
needed, msghdr can also wrap an iovec, which will be recycled
unnecessarily. This uses the sockaddr directly.
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://patch.msgid.link/20260602215327.1885109-2-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
