Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756054AbbHYSXJ (ORCPT ); Tue, 25 Aug 2015 14:23:09 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:33908 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755497AbbHYSXG (ORCPT ); Tue, 25 Aug 2015 14:23:06 -0400 Date: Tue, 25 Aug 2015 20:23:04 +0200 From: Thomas Graf To: Joe Stringer Cc: netdev@vger.kernel.org, pshelar@nicira.com, linux-kernel@vger.kernel.org, pablo@netfilter.org, fwestpha@redhat.com, hannes@redhat.com, jpettit@nicira.com, jesse@nicira.com, netfilter-devel@vger.kernel.org Subject: Re: [PATCHv5 net-next 01/10] openvswitch: Serialize acts with original netlink len Message-ID: <20150825182304.GH3707@pox.localdomain> References: <1440462740-23358-1-git-send-email-joestringer@nicira.com> <1440462740-23358-2-git-send-email-joestringer@nicira.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440462740-23358-2-git-send-email-joestringer@nicira.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 774 Lines: 16 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 > Acked-by: Pravin B Shelar Acked-by: Thomas Graf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/