commit | 10151d7b03e23afce76a59f717f2616a10ddef86 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Sep 09 12:42:52 2016 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Sep 12 18:52:15 2016 +0200 |
tree | 55203406b23b594fcdeecd39636203e90038b823 | |
parent | ddc8b6027ad08d145a6d7a6a6abc00e43f315bd1 [diff] |
netfilter: nf_tables_bridge: use nft_set_pktinfo_ipv{4, 6}_validate Consolidate pktinfo setup and validation by using the new generic functions so we converge to the netdev family codebase. We only need a linear IPv4 and IPv6 header from the reject expression, so move nft_bridge_iphdr_validate() and nft_bridge_ip6hdr_validate() to net/bridge/netfilter/nft_reject_bridge.c. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>