summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-03-14 20:23:04 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2022-03-20 02:29:46 +0300
commitaaa7b20bd4d637fd4ef0d72b6c828c061b9bc5f7 (patch)
treea05e87f20570070202e1e2aec247c3c29739130d /net/bridge
parente50ae445fb70e99f8bdb5493f0aac2d941028c34 (diff)
downloadlinux-aaa7b20bd4d637fd4ef0d72b6c828c061b9bc5f7.tar.xz
netfilter: nft_meta: extend reduce support to bridge family
its enough to export the meta get reduce helper and then call it from nft_meta_bridge too. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/netfilter/nft_meta_bridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/netfilter/nft_meta_bridge.c b/net/bridge/netfilter/nft_meta_bridge.c
index 380a31ebf840..8c3eaba87ad2 100644
--- a/net/bridge/netfilter/nft_meta_bridge.c
+++ b/net/bridge/netfilter/nft_meta_bridge.c
@@ -99,6 +99,7 @@ static const struct nft_expr_ops nft_meta_bridge_get_ops = {
.eval = nft_meta_bridge_get_eval,
.init = nft_meta_bridge_get_init,
.dump = nft_meta_get_dump,
+ .reduce = nft_meta_get_reduce,
};
static bool nft_meta_bridge_set_reduce(struct nft_regs_track *track,