mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
[NETFILTER]: Don't use conntrack entry after dropping the reference
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
266c854348
commit
2fdf1faa8e
@ -728,11 +728,9 @@ ctnetlink_del_conntrack(struct sock *ctnl, struct sk_buff *skb,
|
||||
return -ENOENT;
|
||||
}
|
||||
}
|
||||
if (del_timer(&ct->timeout)) {
|
||||
ip_conntrack_put(ct);
|
||||
if (del_timer(&ct->timeout))
|
||||
ct->timeout.function((unsigned long)ct);
|
||||
return 0;
|
||||
}
|
||||
|
||||
ip_conntrack_put(ct);
|
||||
DEBUGP("leaving\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user