[ovs-dev] [PATCH 3/3] ofp-parse: Allow a cookie mask for OFPFC_ADD as long as its -1.

Ben Pfaff blp at nicira.com
Mon Mar 26 22:08:26 UTC 2012


On Sun, Mar 25, 2012 at 11:20:42PM -0700, Justin Pettit wrote:
> The parse_ofp_str() function wouldn't allow any cookie mask to be
> supplied for an "add" command.  This commit allows a mask to be supplied
> as long as it's exact-match (ie, -1).
> 
> Signed-off-by: Justin Pettit <jpettit at nicira.com>

I'm not sure that this makes sense.  The cookie mask is supposed to
specify the bits to match.  An "add" operation never matches any bits,
it only sets bits.



More information about the dev mailing list