]> granicus.if.org Git - ipset/commit
netfilter: bridge: add helpers for fetching physin/outdev pablo
authorFlorian Westphal <fw@strlen.de>
Mon, 27 Apr 2015 19:48:33 +0000 (21:48 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 27 Apr 2015 19:49:25 +0000 (21:49 +0200)
commit3fdc27aaad9cd644ddaae6f2dba6f13b5e78f27f
tree7b8605a5026efd6e09e04210a0883abb469811c9
parent00a3c3dd11e54c3d98c11f081e8d05d2d27aa11d
netfilter: bridge: add helpers for fetching physin/outdev

right now we store this in the nf_bridge_info struct, accessible
via skb->nf_bridge.  This patch prepares removal of this pointer from skb:

Instead of using skb->nf_bridge->x, we use helpers to obtain the in/out
device (or ifindexes).

Followup patches to netfilter will then allow nf_bridge_info to be
obtained by a call into the br_netfilter core, rather than keeping a
pointer to it in sk_buff.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
configure.ac
kernel/include/linux/netfilter/ipset/ip_set_compat.h.in
kernel/net/netfilter/ipset/ip_set_hash_netiface.c