UPSTREAM: net: align SO_RCVMARK required privileges with SO_MARK
The commit referenced in the "Fixes" tag added the SO_RCVMARK socket option for receiving the skb mark in the ancillary data. Since this is a new capability, and exposes admin configured details regarding the underlying network setup to sockets, let's align the needed capabilities with those of SO_MARK. Fixes: 6fd1d51c ("net: SO_RCVMARK socket option for SO_MARK with recvmsg()") Signed-off-by:Eyal Birger <eyal.birger@gmail.com> Link: https://lore.kernel.org/r/20220504095459.2663513-1-eyal.birger@gmail.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> (cherry picked from commit 1f86123b) Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I475283f1dc91d3f0b849c888d3a936fbf2105748
Loading
Please sign in to comment