Browse Source

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>
Florian Westphal 8 năm trước cách đây
mục cha
commit
5efa0fc6d7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      net/netfilter/nf_tables_core.c

+ 1 - 0
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;