summaryrefslogtreecommitdiff
path: root/net/bridge/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-09-09 12:42:51 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-09-12 18:52:09 +0200
commitddc8b6027ad08d145a6d7a6a6abc00e43f315bd1 (patch)
tree7c76ae860dd78122ceab4e5e25b076dc2c5ba89c /net/bridge/netfilter
parent8df9e32e7ed2978f90cce780ce6a27513044158a (diff)
netfilter: introduce nft_set_pktinfo_{ipv4, ipv6}_validate()
These functions are extracted from the netdev family, they initialize the pktinfo structure and validate that the IPv4 and IPv6 headers are well-formed given that these functions are called from a path where layer 3 sanitization did not happen yet. These functions are placed in include/net/netfilter/nf_tables_ipv{4,6}.h so they can be reused by a follow up patch to use them from the bridge family too. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bridge/netfilter')
0 files changed, 0 insertions, 0 deletions