]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables_bridge: set the pktinfo for IPv4/IPv6 traffic
authorAlvaro Neira <alvaroneay@gmail.com>
Wed, 26 Nov 2014 09:21:37 +0000 (10:21 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Nov 2014 12:08:29 +0000 (13:08 +0100)
commite259bdf8226341c42890c5022e9fd22c42f3ccf1
treebb4e04a4c5dc692d3fa4886fb9fc58c7421bfdcb
parente1426c4493c68439ba8df2d479ac62866d015b1d
netfilter: nf_tables_bridge: set the pktinfo for IPv4/IPv6 traffic

This patch adds the missing bits to allow to match per meta l4proto from
the bridge. Example:

  nft add rule bridge filter input ether type {ip, ip6} meta l4proto udp counter

Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/nf_tables_bridge.c