mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
netfilter: avoid double free in nf_reinject
NF_STOLEN means skb was already freed Signed-off-by: Julian Anastasov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9e23311345
commit
fad5444043
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue