]> 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)
commitd9034344d854daf9a4a677832e4e904ff8a1f8f5
treeb4635969ea9ed57f857a1b835328e37052e9bdc4
parent417ad9e36a40d743cd492183c21dd056e567cbcb
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