X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fnetfilter%2Fnft_counter.c;h=17591239229f75564b944dc7db61e1dae6a2f1f1;hb=79319a052cb0ae862954fe9f6e606417f1698ddb;hp=0f6367e3e540cb4cb7ce3a81d5f8048e84418040;hpb=a55e22e92f1a31018e6dc8fce35380900f022c24;p=firefly-linux-kernel-4.4.55.git diff --git a/net/netfilter/nft_counter.c b/net/netfilter/nft_counter.c index 0f6367e3e540..17591239229f 100644 --- a/net/netfilter/nft_counter.c +++ b/net/netfilter/nft_counter.c @@ -92,6 +92,7 @@ static struct nft_expr_type nft_counter_type __read_mostly = { .ops = &nft_counter_ops, .policy = nft_counter_policy, .maxattr = NFTA_COUNTER_MAX, + .flags = NFT_EXPR_STATEFUL, .owner = THIS_MODULE, };