diff options
| author | Shouvik Kar <auxcorelabs@gmail.com> | 2026-05-12 14:02:42 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-05-14 16:23:01 +0300 |
| commit | 899bea8248cee35d54760a5e7d61a76af8e64411 (patch) | |
| tree | 58dee729a3cfbfa802084725e726cdd5b7703c39 /include/linux | |
| parent | c84701cfc90a90a6a9dfbdb138706a6d79f5b186 (diff) | |
| download | linux-899bea8248cee35d54760a5e7d61a76af8e64411.tar.xz | |
io_uring/net: allow filtering on IORING_OP_CONNECT
This adds custom filtering for IORING_OP_CONNECT, where the target
family is always exposed, and (for AF_INET / AF_INET6) port and
address are exposed. port and v4_addr are in network byte order so
filter authors can compare against on-wire constants.
Skip population unless addr_len covers the populated fields, to
avoid leaking stale io_async_msghdr data on short connects.
Signed-off-by: Shouvik Kar <auxcorelabs@gmail.com>
Link: https://patch.msgid.link/20260512110242.26219-1-auxcorelabs@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
