Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 05ae2fba authored by Florian Westphal's avatar Florian Westphal Committed by Pablo Neira Ayuso
Browse files

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: e0bb96db

 ("netfilter: nft_socket: add support for cgroupsv2")
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Tested-by: default avatarTopi Miettinen <toiwoton@gmail.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent e8a64bba
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment