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

From: Pravin Shelar
Date: Wed Aug 12 2015 - 17:34:51 EST


On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer <joestringer@xxxxxxxxxx> 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 original actions length when
> de-serializing and re-use the original length when serializing.
>
> Signed-off-by: Joe Stringer <joestringer@xxxxxxxxxx>

Acked-by: Pravin B Shelar <pshelar@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/