summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/tmp108.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2017-06-01 10:00:07 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-01 11:49:39 -0400
commit7212462fa6fdae61f7f40a4ead048def45bb23cb (patch)
tree26a869f3de07346f8b17219b4da34dbfedb8324f /drivers/hwmon/tmp108.c
parent5ea6d691aac6c93b790f0905e3460d44cc4c449b (diff)
downloadop-kernel-dev-7212462fa6fdae61f7f40a4ead048def45bb23cb.zip
op-kernel-dev-7212462fa6fdae61f7f40a4ead048def45bb23cb.tar.gz
netlink: don't send unknown nsid
The NETLINK_F_LISTEN_ALL_NSID otion enables to listen all netns that have a nsid assigned into the netns where the netlink socket is opened. The nsid is sent as metadata to userland, but the existence of this nsid is checked only for netns that are different from the socket netns. Thus, if no nsid is assigned to the socket netns, NETNSA_NSID_NOT_ASSIGNED is reported to the userland. This value is confusing and useless. After this patch, only valid nsid are sent to userland. Reported-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/tmp108.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud