lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 7 May 2015 13:55:59 +0200
From:	Thomas Graf <>
To:	Nicolas Dichtel <>
Subject: Re: [PATCH net-next v2 7/7] netlink: allow to listen "all" netns

On 05/07/15 at 11:02am, Nicolas Dichtel wrote:
> More accurately, listen all netns that have a nsid assigned into the netns
> where the netlink socket is opened.
> For this purpose, a netlink socket option is added:
> NETLINK_LISTEN_ALL_NSID. When this option is set on a netlink socket, this
> socket will receive netlink notifications from all netns that have a nsid
> assigned into the netns where the socket has been opened. The nsid is sent
> to userland via an anscillary data.
> With this patch, a daemon needs only one socket to listen many netns. This
> is useful when the number of netns is high.
> Because 0 is a valid value for a nsid, the field nsid_is_set indicates if
> the field nsid is valid or not. skb->cb is initialized to 0 on skb
> allocation, thus we are sure that we will never send a nsid 0 by error to
> the userland.
> Signed-off-by: Nicolas Dichtel <>

LGTM, nice work

Acked-by: Thomas Graf <>
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists