]> git.proxmox.com Git - mirror_ovs.git/commit
netlink linux: enable listening to all nsids
authorFlavio Leitner <fbl@redhat.com>
Fri, 30 Mar 2018 02:05:29 +0000 (23:05 -0300)
committerBen Pfaff <blp@ovn.org>
Sat, 31 Mar 2018 19:48:36 +0000 (12:48 -0700)
commitcf114a7fce80c14d9f1bc49c995faa973b1b5e21
treee35bf50554714e4ae258737be0eb5f8cf19f0ffb
parent756819ddd788976f4d17e0da08779fd3317f85fa
netlink linux: enable listening to all nsids

Internal ports may be moved to another network namespace
and when that happens, the vswitch stops receiving netlink
notifications.

This patch enables the vswitch to listen to all network
namespaces that have a nsid assigned into the network
namespace where the socket has been opened.

It requires kernel 4.2 or newer.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/daemon-unix.c
lib/daemon.man
lib/daemon.xml
lib/netdev-linux.c
lib/netlink-protocol.h
lib/netlink-socket.c
lib/netlink-socket.h
tests/ofproto-macros.at
tests/ovn-controller-vtep.at