OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Sep 2019 10:20:33 +0000 (11:20 +0100)
commitd23dbc479a8e813db4161a695d67da0e36557846
tree874b6982de49a551bb6bc0a591ce754c4b3d2bc1
parent77f22f92dff8e7b45c7786a430626d38071d4670
ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'

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>
net/ipv6/ping.c