]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 10 Sep 2019 11:29:59 +0000 (13:29 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 Nov 2019 15:57:28 +0000 (15:57 +0000)
commite8b8edee6f5614fb237006103112e09861abfae7
tree4b134a48d1f35735831afb396c0b164d38808367
parent9b3bfbbfa8b5ebeff76f81d620b8a3a36bc4c1f9
ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'

commit d23dbc479a8e813db4161a695d67da0e36557846 upstream.

The '.exit' functions from 'pernet_operations' structure should be marked
as __net_exit, not __net_init.

Fixes: d862e5461423 ("net: ipv6: Implement /proc/net/icmp6.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/ipv6/ping.c