Commit 5efa0fc6 authored by Florian Westphal's avatar Florian Westphal Committed by Pablo Neira Ayuso

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: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 0813fbc9
...@@ -178,6 +178,7 @@ nft_do_chain(struct nft_pktinfo *pkt, void *priv) ...@@ -178,6 +178,7 @@ nft_do_chain(struct nft_pktinfo *pkt, void *priv)
case NF_ACCEPT: case NF_ACCEPT:
case NF_DROP: case NF_DROP:
case NF_QUEUE: case NF_QUEUE:
case NF_STOLEN:
nft_trace_packet(&info, chain, rule, nft_trace_packet(&info, chain, rule,
rulenum, NFT_TRACETYPE_RULE); rulenum, NFT_TRACETYPE_RULE);
return regs.verdict.code; return regs.verdict.code;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment