From: Pablo Neira Ayuso Date: Tue, 26 May 2015 16:41:40 +0000 (+0200) Subject: netfilter: nf_tables: add netdev table to filter from ingress X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~178^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed6c4136f1571bd6ab362afc3410905a8a69ca42;p=pandora-kernel.git netfilter: nf_tables: add netdev table to filter from ingress This allows us to create netdev tables that contain ingress chains. Use skb_header_pointer() as we may see shared sk_buffs at this stage. This change provides access to the existing nf_tables features from the ingress hook. Signed-off-by: Pablo Neira Ayuso --- diff --git a/include/net/netns/nftables.h b/include/net/netns/nftables.h index eee608b12cc9..c80781146019 100644 --- a/include/net/netns/nftables.h +++ b/include/net/netns/nftables.h @@ -13,6 +13,7 @@ struct netns_nftables { struct nft_af_info *inet; struct nft_af_info *arp; struct nft_af_info *bridge; + struct nft_af_info *netdev; unsigned int base_seq; u8 gencursor; }; Reading git-diff-tree failed