提交 fad54440 编写于 作者: J Julian Anastasov 提交者: David S. Miller

netfilter: avoid double free in nf_reinject

NF_STOLEN means skb was already freed
Signed-off-by: NJulian Anastasov <ja@ssi.bg>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9e233113
...@@ -312,6 +312,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict) ...@@ -312,6 +312,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict)
} }
break; break;
case NF_STOLEN: case NF_STOLEN:
break;
default: default:
kfree_skb(skb); kfree_skb(skb);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册