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

From: Thomas Graf
Date: Tue Aug 25 2015 - 14:23:13 EST


On 08/24/15 at 05:32pm, 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 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>

Acked-by: Thomas Graf <tgraf@xxxxxxx>
--
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/