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:42:17 +0000 (18:42 -0800)
commit33db1592447e46ee99cc726d2186b3fda44294de
tree4aa27a05a0810dbd2dcf54a12f004fb115471c1b
parent59e32148fe6bc36eb64f77f342a0ae5ce7d12bef
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