]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: bridge: Expose nf_tables bridge hook priorities through uapi
authorMáté Eckl <ecklm94@gmail.com>
Fri, 3 Aug 2018 11:36:13 +0000 (13:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Aug 2018 19:15:09 +0000 (21:15 +0200)
commit1a00e878cd8888e64794486b828b273fa9a4773e
tree3ff5e703ba7378d404433eec69a48dfc6675fee9
parent2b7178496f052399dcf0147a50c6686fa5c2050e
netfilter: bridge: Expose nf_tables bridge hook priorities through uapi

Netfilter exposes standard hook priorities in case of ipv4, ipv6 and
arp but not in case of bridge.

This patch exposes the hook priority values of the bridge family (which are
different from the formerly mentioned) via uapi so that they can be used by
user-space applications just like the others.

Signed-off-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_bridge.h
include/uapi/linux/netfilter_bridge.h
net/bridge/br_netfilter_hooks.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c