datapath: Always notify in initial namespace for port deletions.
authorJesse Gross <jesse@nicira.com>
Sat, 19 Nov 2011 22:26:02 +0000 (14:26 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 21 Nov 2011 18:29:49 +0000 (10:29 -0800)
commit69cd5b735977ee674515b52f2210c34aed0e7ccc
tree84f4fdd91cbc946a25dddefc7474da781820dd34
parentcbbf4e1e47470b41a68c8ee936158da9d7739cae
datapath: Always notify in initial namespace for port deletions.

We currently notify for port deletions in the namespace of the device
that was deleted.  In general this should be initial namespace because
that's the only place where we look but it's possible that the device
was moved after being attached.  However, it's not semantically correct
because we really care about the namespace of the userspace process, not
that of the device.  This switches to genlmsg_multicast() which always
uses the initial namespace and seems more appropriate anyways.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/dp_notify.c