From: Florian Westphal Date: Thu, 2 Apr 2015 12:31:41 +0000 (+0200) Subject: netfilter: bridge: add helpers for fetching physin/outdev X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~38^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c737b7c4510026c200e14de51eb0006adea0fb2f;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed