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:45:01 +0000 (18:45 -0800)
commit4ca88b59994faa79f88f21a347a5dbc571138c1d
tree2d9b68deaffd63e3b8fac264d2715fde4a627138
parent718bcce0b85e457169a4d1ab45e8afe3146d2dd4
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