From: Michal Humpula <michal.humpula@web4u.cz>
To: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next-2.6 v2] ipv6: adding ip_nonlocal_bind option from ipv4
Date: Mon, 5 Jul 2010 13:59:25 +0200 [thread overview]
Message-ID: <201007051359.25587.michal.humpula@web4u.cz> (raw)
In-Reply-To: <1278325832.19358.33.camel@sylph.linux-ipv6.org>
On Monday 05 of July 2010 12:30:32 YOSHIFUJI Hideaki wrote:
> Hello.
>
> Mails are crossing, but additional comments below.
>
> Michal Humpula wrote:
> > diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_binary.c
> > index 1357c57..525edae 100644
> > --- a/kernel/sysctl_binary.c
> > +++ b/kernel/sysctl_binary.c
> > @@ -559,6 +559,7 @@ static const struct bin_table bin_net_ipv6_table[] =
> > {
> >
> > { CTL_DIR, NET_IPV6_ROUTE, "route", bin_net_ipv6_route_table },
> > { CTL_DIR, NET_IPV6_ICMP, "icmp", bin_net_ipv6_icmp_table },
> > { CTL_INT, NET_IPV6_BINDV6ONLY, "bindv6only" },
> >
> > + { CTL_INT, NET_IPV6_NONLOCAL_BIND, "ipv6_nonlocal_bind" },
> >
> > { CTL_INT, NET_IPV6_IP6FRAG_HIGH_THRESH, "ip6frag_high_thresh" },
> > { CTL_INT, NET_IPV6_IP6FRAG_LOW_THRESH, "ip6frag_low_thresh" },
> > { CTL_INT, NET_IPV6_IP6FRAG_TIME, "ip6frag_time" },
>
> No more binary interface.
>
> > diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
> > index e830cd4..ed59ec4 100644
> > --- a/net/ipv6/af_inet6.c
> > +++ b/net/ipv6/af_inet6.c
> >
> > @@ -252,6 +252,8 @@ out_rcu_unlock:
> > goto out;
> >
> > }
> >
> > +int sysctl_ipv6_nonlocal_bind __read_mostly;
> > +EXPORT_SYMBOL(sysctl_ipv6_nonlocal_bind);
>
> why?
>
> In IPv4 it seems to be exported for SCTP. Probably you need to
> look into SCTP as well.
>
> --yoshfuji
Thanks for review. I should obviously wait a little bit longer before posting the v2.
prev parent reply other threads:[~2010-07-05 11:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 10:12 [PATCH net-next-2.6 v2] ipv6: adding ip_nonlocal_bind option from ipv4 Michal Humpula
2010-07-05 10:30 ` YOSHIFUJI Hideaki
2010-07-05 11:59 ` Michal Humpula [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201007051359.25587.michal.humpula@web4u.cz \
--to=michal.humpula@web4u.cz \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).