]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: do not allow ipv6 module to be removed
authorCong Wang <amwang@redhat.com>
Sat, 21 Sep 2013 03:12:21 +0000 (11:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Sep 2013 15:31:58 +0000 (11:31 -0400)
commit798baed53d265ecb16cba5113dde1dad4ecaada1
treeb4635969ea9ed57f857a1b835328e37052e9bdc4
parentd4f1c618d721738de191d56d12baea52681a61f8
ipv6: do not allow ipv6 module to be removed

There was some bug report on ipv6 module removal path before.
Also, as Stephen pointed out, after vxlan module gets ipv6 support,
the ipv6 stub it used is not safe against this module removal either.
So, let's just remove inet6_exit() so that ipv6 module will not be
able to be unloaded.

Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c