Re: [PATCHv3 net-next 01/10] openvswitch: Serialize acts with original netlink len

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer wrote: > Previously, we used the kernel-internal netlink actions length to > calculate the size of messages to serialize back to userspace. > However,the sw_flow_actions may not be formatted exactly the same as the > actions on the wire, so store the o

[PATCHv3 net-next 01/10] openvswitch: Serialize acts with original netlink len

2015-08-11 Thread Joe Stringer
Previously, we used the kernel-internal netlink actions length to calculate the size of messages to serialize back to userspace. However,the sw_flow_actions may not be formatted exactly the same as the actions on the wire, so store the original actions length when de-serializing and re-use the orig