From: Brian Haley Date: Wed, 4 Mar 2009 11:18:11 +0000 (-0800) Subject: IPv6: add "disable" module parameter support to ipv6.ko X-Git-Tag: v2.6.29-rc8~51^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe7ca2e1e847b65c12d245cbf402af89da96888a;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed