From: David Ahern <dsahern@gmail.com>
To: Francesco Ruggeri <fruggeri@arista.com>,
yoshfuji@linux-ipv6.org, kuznet@ms2.inr.ac.ru,
davem@davemloft.net, maxim@arista.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATE
Date: Sun, 3 Mar 2019 09:42:19 -0700 [thread overview]
Message-ID: <78f99c4f-ac7b-4569-b3c3-bacc191e6bbd@gmail.com> (raw)
In-Reply-To: <20190301233103.B4EE095C2D16@us180.sjc.aristanetworks.com>
On 3/1/19 4:31 PM, Francesco Ruggeri wrote:
> By default IPv6 socket with IPV6_ROUTER_ALERT socket option set will
> receive all IPv6 RA packets from all namespaces.
> IPV6_ROUTER_ALERT_ISOLATE socket option restricts packets received by
> the socket to be only from the socket's namespace.
>
> Signed-off-by: Maxim Martynov <maxim@arista.com>
> Signed-off-by: Francesco Ruggeri <fruggeri@arista.com>
> ---
> include/linux/ipv6.h | 3 ++-
> include/uapi/linux/in6.h | 1 +
> net/ipv6/ip6_output.c | 6 ++++++
> net/ipv6/ipv6_sockglue.c | 10 ++++++++++
> 4 files changed, 19 insertions(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@gmail.com>
next prev parent reply other threads:[~2019-03-03 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-01 23:31 [PATCH] net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATE Francesco Ruggeri
2019-03-03 16:42 ` David Ahern [this message]
2019-03-04 5:05 ` David Miller
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=78f99c4f-ac7b-4569-b3c3-bacc191e6bbd@gmail.com \
--to=dsahern@gmail.com \
--cc=davem@davemloft.net \
--cc=fruggeri@arista.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=maxim@arista.com \
--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).