Re: [PATCH liburing v2] tests: add cBPF filter tests for IORING_OP_CONNECT
Jens Axboe <[email protected]>
| Newsgroups | org.kernel.vger.io-uring |
|---|---|
| Message-ID | <177876507818.607079.6335728086640819526.b4-ty@b4> |
On Thu, 14 May 2026 16:37:51 +0530, Shouvik Kar wrote:
> Add subtests for IORING_OP_CONNECT to test/cbpf_filter.c, exercising
> the io_connect_bpf_populate() helper added in the companion kernel
> patch ("io_uring/net: allow filtering on IORING_OP_CONNECT").
>
> Coverage spans both blacklist and whitelist filters for each
> connect-specific data field (family, v4 address, v6 address, port),
> plus v4 and v6 subnet matching, and a test for the addr_len guard
> in io_connect_bpf_populate that prevents stale io_async_msghdr
> cache from leaking through to the filter on short connects.
>
> [...]
Applied, thanks!
[1/1] tests: add cBPF filter tests for IORING_OP_CONNECT
commit: f4b781ed18cda473f76f9535f500f73903a5d5aa
Best regards,
--
Jens Axboe