dpif-netdev: Reject adding duplicate ports.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Apr 2015 18:15:45 +0000 (11:15 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Apr 2015 15:13:10 +0000 (08:13 -0700)
commit17050610ec44820dca59c3bfa617f55d3add2cfc
tree80d3789e32ac0d307a0e28802aa6c9cbbd3dcb8e
parent79ae214d2d93e4ae584455db0cc0e054b76cc711
dpif-netdev: Reject adding duplicate ports.

Otherwise it is at least very confusing.

Found during testing.  An upcoming commit adds a test.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/dpif-netdev.c