From: David Miller <davem@davemloft.net>
To: dsahern@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: ipv6: Allow connect to linklocal address from socket bound to vrf
Date: Mon, 08 Jan 2018 14:11:35 -0500 (EST) [thread overview]
Message-ID: <20180108.141135.1290840529204977450.davem@davemloft.net> (raw)
In-Reply-To: <20180104220354.30524-1-dsahern@gmail.com>
From: David Ahern <dsahern@gmail.com>
Date: Thu, 4 Jan 2018 14:03:54 -0800
> Allow a process bound to a VRF to connect to a linklocal address.
> Currently, this fails because of a mismatch between the scope of the
> linklocal address and the sk_bound_dev_if inherited by the VRF binding:
> $ ssh -6 fe80::70b8:cff:fedd:ead8%eth1
> ssh: connect to host fe80::70b8:cff:fedd:ead8%eth1 port 22: Invalid argument
>
> Relax the scope check to allow the socket to be bound to the same L3
> device as the scope id.
>
> This makes ipv6 linklocal consistent with other relaxed checks enabled
> by commits 1ff23beebdd3 ("net: l3mdev: Allow send on enslaved interface")
> and 7bb387c5ab12a ("net: Allow IP_MULTICAST_IF to set index to L3 slave").
>
> Signed-off-by: David Ahern <dsahern@gmail.com>
Applied, thanks David.
prev parent reply other threads:[~2018-01-08 19:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 22:03 [PATCH net-next] net: ipv6: Allow connect to linklocal address from socket bound to vrf David Ahern
2018-01-08 19:11 ` David Miller [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=20180108.141135.1290840529204977450.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.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).