[ovs-git] [openvswitch/ovs] 0e45cf: ofproto-dpif: Set need_revalidate when removing cf...
GitHub
noreply at github.com
Sat Mar 28 21:28:47 UTC 2015
Branch: refs/heads/branch-2.3
Home: https://github.com/openvswitch/ovs
Commit: 0e45cfe43d8c3624fe599c9f5a0e68041c57d437
https://github.com/openvswitch/ovs/commit/0e45cfe43d8c3624fe599c9f5a0e68041c57d437
Author: Alex Wang <alexw at nicira.com>
Date: 2015-03-28 (Sat, 28 Mar 2015)
Changed paths:
M ofproto/ofproto-dpif.c
Log Message:
-----------
ofproto-dpif: Set need_revalidate when removing cfm from ofport.
When cfm is deleted from a port, all modules should release their
reference so that the cfm struct can be removed from the global hmap
and freed. Therein, the reference held by xlate module can only be
released when the need_revalidate flag is set (e.g set to
REV_RECONFIGURE). And this flag should be set while removing cfm
from ofport. Unfortunately, this has never been done before and the
bug was hidden by another bug fixed in recent commit a190839
(netdev-vport: Do not update netdev when there is no config change.)
To fix this issue, this commit makes the code set need_revalidate
when removing cfm from ofport.
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the git
mailing list