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)
commit1b63d4b9b54cee6002757a8d20b537aa4037ae8f
treebb4e04a4c5dc692d3fa4886fb9fc58c7421bfdcb
parent68b0faa87d167ec87ba2a26be62241ad94eb449b
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