aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-12-18 12:05:21 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-12-26 17:41:34 +0100
commitc14ceb0ec727187f71a487a592ffa91767fed66e (patch)
treeca06929e9f9f81a84050672307eb5552a594899d /net/core/dev.c
parentnetfilter: nft_meta: place rtclassid handling in a helper (diff)
downloadlinux-dev-c14ceb0ec727187f71a487a592ffa91767fed66e.tar.xz
linux-dev-c14ceb0ec727187f71a487a592ffa91767fed66e.zip
netfilter: nft_meta: add support for slave device ifindex matching
Allow to match on vrf slave ifindex or name. In case there was no slave interface involved, store 0 in the destination register just like existing iif/oif matching. sdif(name) is restricted to the ipv4/ipv6 input and forward hooks, as it depends on ip(6) stack parsing/storing info in skb->cb[]. Cc: Martin Willi <martin@strongswan.org> Cc: David Ahern <dsahern@kernel.org> Cc: Shrijeet Mukherjee <shrijeet@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions