net/netlink: Add getsockopt support for NETLINK_LISTEN_ALL_NSID
authorJuntong Deng <juntong.deng@outlook.com>
Fri, 8 Mar 2024 11:33:04 +0000 (11:33 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Mar 2024 22:48:34 +0000 (15:48 -0700)
commit8b6d307f4391c20cfd76bbb15f8b3784d36e0755
tree1c8672fca2011dd228f059bca011b7b1fae2bb61
parenta290d4cb892da3e9e163a40d0ab70ed1531cdc58
net/netlink: Add getsockopt support for NETLINK_LISTEN_ALL_NSID

Currently getsockopt does not support NETLINK_LISTEN_ALL_NSID,
and we are unable to get the value of NETLINK_LISTEN_ALL_NSID
socket option through getsockopt.

This patch adds getsockopt support for NETLINK_LISTEN_ALL_NSID.

Signed-off-by: Juntong Deng <juntong.deng@outlook.com>
Link: https://lore.kernel.org/r/AM6PR03MB58482322B7B335308DA56FE599272@AM6PR03MB5848.eurprd03.prod.outlook.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/netlink/af_netlink.c