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)
commit8ce440610357b77587433d0df647cea69a6890a8
treeb4635969ea9ed57f857a1b835328e37052e9bdc4
parentb0983d3c9b132c33b6fb2e28d157a1edc18a173c
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