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

2015-09-15 Thread David Miller
From: Jesse Gross Date: Fri, 11 Sep 2015 18:38:28 -0700 > 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. >

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

2015-09-12 Thread Pravin Shelar
On Fri, Sep 11, 2015 at 6:38 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 v2] openvswitch: Fix mask generation for nested attributes.

2015-09-11 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