From: Florian Westphal Date: Tue, 18 Oct 2016 15:35:18 +0000 (+0200) Subject: netfilter: nf_tables: allow expressions to return STOLEN X-Git-Tag: v4.10-rc1~202^2~355^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5efa0fc6d7f7930b18801f07cefae8eeacd6ac02;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index 0dd5c695482f6..70de32a6d5c0c 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;