mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:41:00 +07:00
[ICMP]: Section conflict between icmp_sk_init/icmp_sk_exit.
Functions from __exit section should not be called from ones in __init section. Fix this conflict. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4a80f27889
commit
1d1c8d13c4
@ -1198,7 +1198,9 @@ int __net_init icmp_sk_init(struct net *net)
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
icmp_sk_exit(net);
|
||||
for_each_possible_cpu(i)
|
||||
sk_release_kernel(net->ipv4.icmp_sk[i]);
|
||||
kfree(net->ipv4.icmp_sk);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user