Re: [PATCH net] openvswitch: Fix mask generation for nested attributes.

2015-09-11 Thread Jesse Gross
On Fri, Sep 11, 2015 at 9:04 AM, Pravin Shelar wrote: > On Thu, Sep 10, 2015 at 6:36 PM, Jesse Gross wrote: >> Masks were added to OVS flows in a way that was backwards compatible >> with userspace programs that did not generate masks. As a result, it is >> possible that we may receive flows that

Re: [PATCH net] openvswitch: Fix mask generation for nested attributes.

2015-09-11 Thread Pravin Shelar
On Thu, Sep 10, 2015 at 6:36 PM, Jesse Gross wrote: > Masks were added to OVS flows in a way that was backwards compatible > with userspace programs that did not generate masks. As a result, it is > possible that we may receive flows that do not have a mask and we need > to synthesize one. > > Gen

[PATCH net] openvswitch: Fix mask generation for nested attributes.

2015-09-10 Thread Jesse Gross
Masks were added to OVS flows in a way that was backwards compatible with userspace programs that did not generate masks. As a result, it is possible that we may receive flows that do not have a mask and we need to synthesize one. Generating a mask requires iterating over attributes and descending