netns: notify netns id events
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 7 Apr 2015 09:51:53 +0000 (11:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 21:29:41 +0000 (17:29 -0400)
commit9a9634545c7051f567096117d417e9c3be24706d
treed3238d41a1c5aa27c4b53e476d9892c4dcc99e23
parentb111e4e1112316e800dd1f1debdf017d2cf940b2
netns: notify netns id events

With this patch, netns ids that are created and deleted are advertised into the
group RTNLGRP_NSID.

Because callers of rtnl_net_notifyid() already know the id of the peer, there is
no need to call __peernet2id() in rtnl_net_fill().

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h
net/core/net_namespace.c
This page took 0.024996 seconds and 5 git commands to generate.