From: "François-Xavier Le Bail" <fx.lebail@yahoo.com>
To: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
James Morris <jmorris@namei.org>,
Hideaki Yoshifuji <yoshfuji@linux-ipv6.org>,
Patrick McHardy <kaber@trash.net>
Subject: Re: [PATCH net-next] IPv6: enable bind() to assign an anycast address
Date: Fri, 10 Jan 2014 14:01:22 -0800 (PST) [thread overview]
Message-ID: <1389391282.61382.YahooMailBasic@web125501.mail.ne1.yahoo.com> (raw)
In-Reply-To: <20140110205100.GB23647@order.stressinduktion.org>
On Fri, 1/10/14, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote:
>On Fri, Jan 10, 2014 at 07:12:24PM +0100, Francois-Xavier Le Bail wrote:
>> - Add ipv6_chk_acast_addr_src() to check if an anycast address is link-local
>> on given interface or is global (on any interface).
>> - Use it in inet6_bind().
>>
>> Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
>> ---
>> Tested with link-local and global anycast addresses.
>> Tested with SOCK_DGRAM socket, bind and UDP traffic OK.
>>
>> Tested with SOCK_STREAM socket, bind OK, traffic need another change.
> What do you mean with that?
In actual TCP code, if the destination address is not unicast, the request is dropped:
if (!ipv6_unicast_destination(skb))
goto drop;
I will send another patch to allow anycat addresses destinations fot TCP.
bye,
Francois-Xavier
next prev parent reply other threads:[~2014-01-10 22:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 18:12 [PATCH net-next] IPv6: enable bind() to assign an anycast address Francois-Xavier Le Bail
2014-01-10 20:51 ` Hannes Frederic Sowa
2014-01-10 22:01 ` François-Xavier Le Bail [this message]
2014-01-13 16:43 ` François-Xavier Le Bail
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=1389391282.61382.YahooMailBasic@web125501.mail.ne1.yahoo.com \
--to=fx.lebail@yahoo.com \
--cc=davem@davemloft.net \
--cc=hannes@stressinduktion.org \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kuznet@ms2.inr.ac.ru \
--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