dpif-linux: Make dpif_linux_port_query_by_name() query only one datapath.
authorBen Pfaff <blp@nicira.com>
Tue, 28 Feb 2012 02:42:17 +0000 (18:42 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 28 Feb 2012 02:44:17 +0000 (18:44 -0800)
commit86826897f6f2072cc46cda48cd58fd738585ee77
treee4cd9699d0400b11224deea23e54f0a90e8c6b93
parent1833352c33fb73077b60e618940ad094c426a4cc
dpif-linux: Make dpif_linux_port_query_by_name() query only one datapath.

The kernel will report a vport with the given name in any datapath, but
userspace only wants a vport with the given name in a specific datapath.
Receiving information on a vport in an unexpected datapath yields bizarre
and hard-to-debug problems.

Bug #9889.
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c