cfm: Update netdev when changed.
authorEthan Jackson <ethan@nicira.com>
Mon, 3 Jun 2013 20:49:13 +0000 (13:49 -0700)
committerEthan Jackson <ethan@nicira.com>
Mon, 3 Jun 2013 21:35:18 +0000 (14:35 -0700)
commit9d46b444e3d7b57e5d0500bc12d3301fe528627c
tree0d81a2e3ff06137f4607bc67efe256cae992e171
parentae9020cf61caf087e7c904b646f836e6ff3aa345
cfm: Update netdev when changed.

If ofproto decided to change the netdev of a particular ofport,
cfm_demand mode would improperly continue using the old netdev to
collect stats.

Bug #17583.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/cfm.c
lib/cfm.h
ofproto/ofproto-dpif.c