Skip to contentSkip to conversation

netfilter: nf_tables: allow expressions to return STOLEN

PATCH Applied Florian Westphal 2 participants 2 messages Oct 18, 2016 – Oct 21, 2016

Subsystems (2)
lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 1/1 netfilter: nf_tables: allow expressions to return STOLEN

Currently not supported, we'd oops as skb was (or is) free'd elsewhere.

---
 net/netfilter/nf_tables_core.c | 1 +
 1 file changed, 1 insertion(+)
net/netfilter/nf_tables_core.c +1 -0
index 0dd5c695482f..70de32a6d5c0 100644
@@ -178,6 +178,7 @@ nft_do_chain(struct nft_pktinfo *pkt, void *priv)
 	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;
Signature · 1 line
2.7.3
maintainer Applied
#1 lore raw
Quoted 1 line · Florian Westphal

Currently not supported, we'd oops as skb was (or is) free'd elsewhere.

Applied, thanks Florian.