diff options
author | Florian Westphal <fw@strlen.de> | 2022-04-09 14:20:19 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-04-11 13:12:46 +0300 |
commit | 05ae2fba821c4d122ab4ba3e52144e21586c4010 (patch) | |
tree | f5e9df44d3007aa1ea626be40668c707af2bcff4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e8a64bbaaad1f6548cec5508297bc6d45e8ab69e (diff) | |
download | linux-05ae2fba821c4d122ab4ba3e52144e21586c4010.tar.xz |
netfilter: nft_socket: make cgroup match work in input too
cgroupv2 helper function ignores the already-looked up sk
and uses skb->sk instead.
Just pass sk from the calling function instead; this will
make cgroup matching work for udp and tcp in input even when
edemux did not set skb->sk already.
Fixes: e0bb96db96f8 ("netfilter: nft_socket: add support for cgroupsv2")
Signed-off-by: Florian Westphal <fw@strlen.de>
Tested-by: Topi Miettinen <toiwoton@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions