]> 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)
commita3d9811fe230680c707accc5896a3c599ae4bacf
tree3ff5e703ba7378d404433eec69a48dfc6675fee9
parent34a324dc67249c158c141032f81745313ed7f05c
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