Google
  Web www.spinics.net

Re: [bisected] Weird sysctl regression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Sat, Aug 23, 2008 at 11:09:00PM +0200, Arnaud Ebalard wrote:
> Hi,
> 
> Al Viro <viro@xxxxxxxxxxxxxxxxxx> writes:
> 
> > On Sat, Aug 23, 2008 at 07:13:49PM +0200, Arnaud Ebalard wrote:
> >
> >> I already tested 26.27-rc4 and even net-next-2.6 (recently released one
> >> based on rc4 with some bug fixes). Problem is still here.
> >
> > Just to make sure: that's rc4 without any additional patches?
> 
> Sorry for the delay. Yes, no additional patches in both cases:
> 
> - stock 2.6.27-rc4 from kernel.org
> - freshly cloned net-next-2.6 after David's announcement

Gyah...  Dumb braino on my part.  That sucker should've gone into the
global class, not the rotable stuff.  See if that helps...

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
---
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index e6dfaea..587f8f6 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -156,7 +156,7 @@ static struct ctl_table_header *ip6_base;
 int ipv6_static_sysctl_register(void)
 {
 	static struct ctl_table empty[1];
-	ip6_base = register_net_sysctl_rotable(net_ipv6_ctl_path, empty);
+	ip6_base = register_sysctl_paths(net_ipv6_ctl_path, empty);
 	if (ip6_base == NULL)
 		return -ENOMEM;
 	return 0;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Kernel List]     [Site Home]     [Ethernet Bridging]     [Git]     [IETF Annouce]     [Linux Assembly]     [VLAN]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Singles Social Netowrking]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Linux Wireless]     [DDR & Rambus]     [Free Dating]     [Linux Resources]     [Wireless Reading Device]

Add to Google Powered by Linux