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:49 +0000 (18:44 -0800)
commitec9312500e14eda64d1fa7ea15dfa56691992c61
tree168efb787432f37b229f5799ed58c1cfbcdd27fb
parent266ed172aa587bf8e12c1b1f98c1042011e775ca
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