[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c259be90-9aca-bf98-4553-7080c6ef1940@gmail.com>
Date: Mon, 31 Jan 2022 20:30:42 -0700
From: David Ahern <dsahern@...il.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, maze@...gle.com
Subject: Re: [PATCH net-next] net: allow SO_MARK with CAP_NET_RAW via cmsg
On 1/31/22 4:33 PM, Jakub Kicinski wrote:
> There's not reason SO_MARK would be allowed via setsockopt()
> and not via cmsg, let's keep the two consistent. See
> commit 079925cce1d0 ("net: allow SO_MARK with CAP_NET_RAW")
> for justification why NET_RAW -> SO_MARK is safe.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> --
> CC: maze@...gle.com
> ---
> net/core/sock.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists