[Jaunty] SRU: Fix administratively turn off ipv6

Amit Kucheria amit.kucheria at canonical.com
Wed Aug 5 14:21:09 UTC 2009


On 09 Aug 03, Stefan Bader wrote:
> SRU Justification:
> 
> Impact: The method to disable IPV6 in Jaunty does not work, which
> does not allow systgem administrators to disable it on specific
> systems.
> 
> Fix: Patch from upstream which fixes the disable_ipv6 method.
> 
> Testcase: Try to disable ipv6 for a system with
> echo 1 >/proc/sys/net/ipv6/conf/all/disable_ipv6

> From 9bdd8d40c8c59435664af6049dabe24b7779b203 Mon Sep 17 00:00:00 2001
> From: Brian Haley <brian.haley at hp.com>
> Date: Wed, 18 Mar 2009 18:22:48 -0700
> Subject: [PATCH] ipv6: Fix incorrect disable_ipv6 behavior
> 
> BugLink: http://bugs.launchpad.net/bugs/351656
> 
> commit 9bdd8d40c8c59435664af6049dabe24b7779b203 upstream
> 
> Fix the behavior of allowing both sysctl and addrconf_dad_failure()
> to set the disable_ipv6 parameter without any bad side-effects.
> If DAD fails and accept_dad > 1, we will still set disable_ipv6=1,
> but then instead of allowing an RA to add an address then
> immediately fail DAD, we simply don't allow the address to be
> added in the first place.  This also lets the user set this flag
> and disable all IPv6 addresses on the interface, or on the entire
> system.
> 
> Signed-off-by: Brian Haley <brian.haley at hp.com>
> Signed-off-by: David S. Miller <davem at davemloft.net>
> Signed-off-by: Stefan Bader <stefan.bader at canonical.com>

ACK

-- 
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || amit.kucheria at canonical.com
----------------------------------------------------------------------




More information about the kernel-team mailing list