mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
netfilter: avoid double free in nf_reinject
NF_STOLEN means skb was already freed Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9e23311345
commit
fad5444043
@ -312,6 +312,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict)
|
||||
}
|
||||
break;
|
||||
case NF_STOLEN:
|
||||
break;
|
||||
default:
|
||||
kfree_skb(skb);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user