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:37:56 +0000 (14:37 -0700)
commitb0f0cb95424043dbbe275fe1e2e787b44bfae9b4
tree83caf87fafbb50fad09cb345abb098274d3cd5f9
parent1541769aaeffc3e008f42571d3d338ff25bdaf86
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