dpif-linux: Don't allow arbitrary internal ports to identify a datapath.
authorBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 18:02:57 +0000 (11:02 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 18:02:57 +0000 (11:02 -0700)
commita165b67e53a835c623c13de4a0df5f4d7bc9db25
tree4bc3b5b5f4bcecdd046f455e12f2284301348237
parent632d136c7b108cd3d39a2e64fe6230e23977caf8
dpif-linux: Don't allow arbitrary internal ports to identify a datapath.

The userspace tools were allowing the name of any internal port to be used
to identify a datapath.  This, however, makes it hard to enumerate all the
names by which a datapath can be known, and it was never documented or
intentional behavior, so this commit disables it.
datapath/dp_dev.c
lib/dpif-linux.c