Re: [PATCH] inet: Add getsockopt support for IP_ROUTER_ALERT and IPV6_ROUTER_ALERT

From: Eric Dumazet
Date: Mon Mar 04 2024 - 06:50:30 EST


On Mon, Mar 4, 2024 at 12:33 PM Juntong Deng <juntong.deng@xxxxxxxxxxx> wrote:
>
> Currently getsockopt does not support IP_ROUTER_ALERT and
> IPV6_ROUTER_ALERT, and we are unable to get the values of these two
> socket options through getsockopt.
>
> This patch adds getsockopt support for IP_ROUTER_ALERT and
> IPV6_ROUTER_ALERT.
>
> Signed-off-by: Juntong Deng <juntong.deng@xxxxxxxxxxx>
>

This looks good to me, thanks, assuming this is net-next material.

Make sure next time to include the target tree (net or net-next)

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>