netfilter: nft_meta: set skb->nf_trace appropriately
authorLiping Zhang <liping.zhang@spreadtrum.com>
Wed, 8 Jun 2016 12:20:10 +0000 (20:20 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jun 2016 12:15:33 +0000 (14:15 +0200)
commit62131e5d735226074cba53095545d76b491e5003
tree0f7183d2ccc0ab5f4f2968f4705327892bd11cb0
parent6cafaf4764a32597c2195aa5411b87728e1fde8a
netfilter: nft_meta: set skb->nf_trace appropriately

When user add a nft rule to set nftrace to zero, for example:

  # nft add rule ip filter input nftrace set 0

We should set nf_trace to zero also.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_meta.c