diff options
author | Brian Haley <brian.haley@hp.com> | 2009-03-04 12:18:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-04 12:19:08 +0100 |
commit | fe7ca2e1e847b65c12d245cbf402af89da96888a (patch) | |
tree | aec65ae7a12d3c700f8c7f855024058e80075779 /net/netlabel | |
parent | sungem: another error printed one too early (diff) | |
download | linux-fe7ca2e1e847b65c12d245cbf402af89da96888a.tar.xz linux-fe7ca2e1e847b65c12d245cbf402af89da96888a.zip |
IPv6: add "disable" module parameter support to ipv6.ko
Add "disable" module parameter support to ipv6.ko by specifying
"disable=1" on module load. We just do the minimum of initializing
inetsw6[] so calls from other modules to inet6_register_protosw()
won't OOPs, then bail out. No IPv6 addresses or sockets can be
created as a result, and a reboot is required to enable IPv6.
Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions