aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_reject_netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/nft_reject_netdev.c')
-rw-r--r--net/netfilter/nft_reject_netdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nft_reject_netdev.c b/net/netfilter/nft_reject_netdev.c
index 61cd8c4ac385..7865cd8b11bb 100644
--- a/net/netfilter/nft_reject_netdev.c
+++ b/net/netfilter/nft_reject_netdev.c
@@ -159,6 +159,7 @@ static const struct nft_expr_ops nft_reject_netdev_ops = {
.init = nft_reject_init,
.dump = nft_reject_dump,
.validate = nft_reject_netdev_validate,
+ .reduce = NFT_REDUCE_READONLY,
};
static struct nft_expr_type nft_reject_netdev_type __read_mostly = {