[ovs-discuss] bug in flow expired??

Ben Pfaff blp at nicira.com
Fri Oct 18 23:32:17 UTC 2013


On Fri, Oct 18, 2013 at 12:45:08PM +0100, John Hurley wrote:
> When I send a flow mod message to OVS with a hard timeout and flags set to
> request a flow removed message the controller is receiving two messages
> when the time passes.
> 
> The reason field in the first of these messages is set to
> OFPRR_HARD_TIMEOUT (as expected) while the second is OFPRR_DELETE.
> 
> Checking in the ofproto.c code I can see that ofproto_rule_send_removed()
> is called in both the ofproto_rule_expire() function and the
> delete_flow__() function. delete_flow__() is called by
> ofproto_rule_expire() via ofproto_rule_delete__().
> 
> Should it not be the case that only one flow delete message is sent to the
> controller?

Oops.  I think this behavior got introduced recently.  I sent out a
fix (you should be CCed).



More information about the discuss mailing list