]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Sep 2019 05:14:01 +0000 (07:14 +0200)
commitd2807ced8536d55d296b1d862e5141c7484c191b
treee3f576de6cfc14e0c157fee944e9086aae5dfcb3
parentba373fe45610c7f753d9325c651616a81f57ccc6
ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'

[ Upstream commit d23dbc479a8e813db4161a695d67da0e36557846 ]

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ping.c