]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Sep 2019 10:20:33 +0000 (11:20 +0100)
commited37a410d958a0dcdb6447e601e3d2532d366b22
tree874b6982de49a551bb6bc0a591ce754c4b3d2bc1
parentda2e1a5fdde5b4ef54459335047e3fe09556fece
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: 05e023d3e730 ("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