Commit fad54440 authored by Julian Anastasov's avatar Julian Anastasov Committed by David S. Miller

netfilter: avoid double free in nf_reinject

NF_STOLEN means skb was already freed
Signed-off-by: default avatarJulian Anastasov <ja@ssi.bg>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9e233113
......@@ -312,6 +312,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict)
}
break;
case NF_STOLEN:
break;
default:
kfree_skb(skb);
}
......
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