From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751732AbbHLVes (ORCPT ); Wed, 12 Aug 2015 17:34:48 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:33506 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbbHLVeq (ORCPT ); Wed, 12 Aug 2015 17:34:46 -0400 MIME-Version: 1.0 In-Reply-To: <1439333961-24474-2-git-send-email-joestringer@nicira.com> References: <1439333961-24474-1-git-send-email-joestringer@nicira.com> <1439333961-24474-2-git-send-email-joestringer@nicira.com> Date: Wed, 12 Aug 2015 14:34:45 -0700 Message-ID: Subject: Re: [PATCHv3 net-next 01/10] openvswitch: Serialize acts with original netlink len From: Pravin Shelar To: Joe Stringer Cc: netdev , LKML , pablo , Patrick McHardy , Justin Pettit , Andy Zhou , Jesse Gross , Florian Westphal , Hannes Sowa , Thomas Graf Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 original actions length when > de-serializing and re-use the original length when serializing. > > Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar