Re: [PATCHv2 net 3/3] openvswitch: Serialize nested ct actions if provided

2015-10-17 Thread Thomas Graf
On 10/16/15 at 11:08am, Joe Stringer wrote: > If userspace provides a ct action with no nested mark or label, then the > storage for these fields is zeroed. Later when actions are requested, > such zeroed fields are serialized even though userspace didn't > originally specify them. Fix the behaviou

Re: [PATCHv2 net 3/3] openvswitch: Serialize nested ct actions if provided

2015-10-16 Thread Pravin Shelar
On Fri, Oct 16, 2015 at 11:08 AM, Joe Stringer wrote: > If userspace provides a ct action with no nested mark or label, then the > storage for these fields is zeroed. Later when actions are requested, > such zeroed fields are serialized even though userspace didn't > originally specify them. Fix t

[PATCHv2 net 3/3] openvswitch: Serialize nested ct actions if provided

2015-10-16 Thread Joe Stringer
If userspace provides a ct action with no nested mark or label, then the storage for these fields is zeroed. Later when actions are requested, such zeroed fields are serialized even though userspace didn't originally specify them. Fix the behaviour by ensuring that no action is serialized in this c