[ovs-dev] [PATCH] ofproto: Report correct error for emergency flow with timeout.

Ben Pfaff blp at nicira.com
Sat Dec 8 20:38:09 UTC 2012


On Fri, Dec 07, 2012 at 10:02:16PM +0000, Kyle Mestery (kmestery) wrote:
> On Dec 4, 2012, at 2:52 PM, Ben Pfaff <blp at nicira.com> wrote:
> > On Thu, Nov 01, 2012 at 12:22:41AM -0700, Ben Pfaff wrote:
> >> The OpenFlow 1.0 specification says:
> >> 
> >>    Emergency flow mod messages must have timeout values set to zero.
> >>    Otherwise, the switch must refuse the addition and respond with an
> >>    ofp_error_msg with OFPET_FLOW_MOD_FAILED type and
> >>    OFPFMFC_BAD_EMERG_TIMEOUT code.
> >> 
> >> but Open vSwitch reported OFPFMFC_TABLE_FULL in this case.  This commit
> >> fixes the problem.
> >> 
> >> Fixes detailed_contr_sw_messages.EmerFlowTimeout failure in OFTest.
> >> 
> >> Signed-off-by: Ben Pfaff <blp at nicira.com>
> > 
> > This is trivial and fixes a conformance bug, so I'd like to get it
> > reviewed.
> 
> Looks good.
> 
> Acked-by: Kyle Mestery <kmestery at cisco.com>

Thanks, I pushed this to master.



More information about the dev mailing list