ofproto-dpif: Tolerate spontaneous changes in datapath port numbers.
authorBen Pfaff <blp@nicira.com>
Mon, 29 Jul 2013 22:11:49 +0000 (15:11 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 29 Jul 2013 22:11:49 +0000 (15:11 -0700)
commit74cc3969aff34f24c093905c427471ebfb219f0c
treeff2ce802839dd9c4f45775aec2672087f60e5b6a
parent36beb9be69bdcd813ef6cb4b25ddcbb8665145fa
ofproto-dpif: Tolerate spontaneous changes in datapath port numbers.

This can happen on ESX.

Also adds a test to make sure this works.

Bug #17634.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Tested-by: Guolin Yang <gyang@vmware.com>
lib/dpif-netdev.c
ofproto/ofproto-dpif.c
tests/ofproto-dpif.at