Thread (15 messages) 15 messages, 3 authors, 2017-06-09

Re: [PATCH net] netlink: don't send unknown nsid

From: David Miller <davem@davemloft.net>
Date: 2017-06-01 15:50:20

From: Nicolas Dichtel <redacted>
Date: Thu,  1 Jun 2017 10:00:07 +0200
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 <redacted>
Signed-off-by: Nicolas Dichtel <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help