[ovs-dev] [PATCH] ofproto-dpif: Ignore non-packet field masks during flow revalidation

Andy Zhou azhou at nicira.com
Wed Dec 11 21:34:27 UTC 2013


Thanks for the review, pushed to master and branch-2.0 with fixes suggested.


On Wed, Dec 11, 2013 at 11:48 AM, Justin Pettit <jpettit at nicira.com> wrote:

> On Dec 11, 2013, at 11:37 AM, Andy Zhou <azhou at nicira.com> wrote:
>
> > diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
> > index ff77903..8d9a9bd 100644
> > --- a/ofproto/ofproto-dpif.c
> > +++ b/ofproto/ofproto-dpif.c
> > @@ -4219,6 +4219,9 @@ facet_revalidate(struct facet *facet)
> >     xlate_in_init(&xin, ofproto, &facet->flow, new_rule, 0, NULL);
> >     xlate_actions(&xin, &xout);
> >     flow_wildcards_or(&xout.wc, &xout.wc, &wc);
> > +    /* Make sure non packet fields are not masked. If not cleared, the
> memcmp()
>
> Nitpicking, but can you make it "non-packet".
>
> > +     * below may fail, causing otherwise valid facet to be removed. */
>
> Can you add an "an" before "otherwise"?
>
> Acked-by: Justin Pettit <jpettit at nicira.com>
>
> --Justin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20131211/d2829742/attachment-0003.html>


More information about the dev mailing list