diff options
author | Florian Westphal <fw@strlen.de> | 2016-10-18 17:35:18 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-26 16:35:15 +0200 |
commit | 5efa0fc6d7f7930b18801f07cefae8eeacd6ac02 (patch) | |
tree | 93cdc24ad4bafc66ccc4648cfa9fa08f518fd6eb /net | |
parent | 0813fbc913582feef688265f2a5d7c077d6a3d1f (diff) | |
download | op-kernel-dev-5efa0fc6d7f7930b18801f07cefae8eeacd6ac02.zip op-kernel-dev-5efa0fc6d7f7930b18801f07cefae8eeacd6ac02.tar.gz |
netfilter: nf_tables: allow expressions to return STOLEN
Currently not supported, we'd oops as skb was (or is) free'd elsewhere.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_tables_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index 0dd5c69..70de32a 100644 --- a/net/netfilter/nf_tables_core.c +++ b/net/netfilter/nf_tables_core.c @@ -178,6 +178,7 @@ next_rule: case NF_ACCEPT: case NF_DROP: case NF_QUEUE: + case NF_STOLEN: nft_trace_packet(&info, chain, rule, rulenum, NFT_TRACETYPE_RULE); return regs.verdict.code; |