Re: [PATCH] net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATE

From: David Ahern
Date: Sun Mar 03 2019 - 11:42:30 EST


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@xxxxxxxxxx>
> Signed-off-by: Francesco Ruggeri <fruggeri@xxxxxxxxxx>
> ---
> 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@xxxxxxxxx>