[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 01895) Re: [usagi-announce] 2002/10/14 snapshot
In article <20021014.192838.106683116.yoshfuji@xxxxxxxxxxxxxx> (at Mon, 14 Oct 2002 19:28:38 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> says:
> Name for sysctl for default value for IPV6_V6ONLY socket option has
> been moved to net.ipv6.bindv6only.
:
> 2002/10/04 yoshfuji
> * kernel/linux24{include/{linux/sysctl.h,net/ipv6.h},
> net/ipv4/{tcp_ipv4.c,udp.c},net/ipv6/{addrconf.c,
> af_inet6.c,sysctl_net_ipv6.c,tcp_ipv6.c,udp.c}:
> changed sysctl name for default value for IPV6_V6ONLY socket
> option to net.ipv6.bindv6only (and net.ipv6.bindv6only_restriction).
> (based on discussion on linux-kernel mailing list)
If you failed to link without CONFIG_IPV6_RESTRICTED_DOUBLE_BIND,
please apply the following patch (or enable that option).
Index: kernel/linux24/net/ipv6/sysctl_net_ipv6.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux24/net/ipv6/sysctl_net_ipv6.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- kernel/linux24/net/ipv6/sysctl_net_ipv6.c 2002/10/04 08:00:31 1.5
+++ kernel/linux24/net/ipv6/sysctl_net_ipv6.c 2002/10/14 18:11:01 1.6
@@ -21,8 +21,10 @@
{NET_IPV6_ICMP, "icmp", NULL, 0, 0555, ipv6_icmp_table},
{NET_IPV6_BINDV6ONLY, "bindv6only",
&sysctl_ipv6_bindv6only, sizeof(int), 0644, NULL, &proc_dointvec},
+#ifdef CONFIG_IPV6_RESTRICTED_DOUBLE_BIND
{NET_IPV6_BINDV6ONLY_RESTRICTION, "bindv6only_restriction",
&sysctl_ipv6_bindv6only_restriction, sizeof(int), 0644, NULL, &proc_dointvec},
+#endif
{0}
};
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA