From patchwork Fri Aug 19 14:44:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changli Gao X-Patchwork-Id: 110683 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8FB29B6F18 for ; Sat, 20 Aug 2011 00:45:26 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755767Ab1HSOpV (ORCPT ); Fri, 19 Aug 2011 10:45:21 -0400 Received: from mail-iy0-f170.google.com ([209.85.210.170]:63679 "EHLO mail-iy0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754635Ab1HSOpT (ORCPT ); Fri, 19 Aug 2011 10:45:19 -0400 Received: by iye16 with SMTP id 16so5697084iye.1 for ; Fri, 19 Aug 2011 07:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=tvMR4TGLzn6+49B9tkooQISNSksWDR2x79WQyXQxfC0=; b=ArxmfNaxebfdSEu710mR4+OxB+WlHeyF3e+ulRyKncIUV63MJzCA//+R8lsGkWCYSZ Cz0mI1zvP6ebgkilh78Hj9Yo0+gcz3x5F0sAabiSKI3bFwTNPvA7x2nAUdP0oQhmGjlo /XkHqcas5oxJGIzSiIKACLP9MhCBIylU8P/XA= Received: by 10.142.210.21 with SMTP id i21mr1141817wfg.190.1313765118767; Fri, 19 Aug 2011 07:45:18 -0700 (PDT) Received: from localhost.localdomain ([221.239.34.230]) by mx.google.com with ESMTPS id l7sm2383909pbh.74.2011.08.19.07.45.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Aug 2011 07:45:17 -0700 (PDT) From: Changli Gao To: "David S. Miller" Cc: Eric Dumazet , Tom Herbert , netdev@vger.kernel.org, Changli Gao Subject: [PATCH net-next] net: reserve ooo_okay when copying skb header Date: Fri, 19 Aug 2011 22:44:18 +0800 Message-Id: <1313765058-9315-1-git-send-email-xiaosuo@gmail.com> X-Mailer: git-send-email 1.7.3.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Changli Gao --- net/core/skbuff.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/core/skbuff.c b/net/core/skbuff.c index edb66f3..e27334e 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -529,6 +529,7 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old) new->mac_header = old->mac_header; skb_dst_copy(new, old); new->rxhash = old->rxhash; + new->ooo_okay = old->ooo_okay; new->l4_rxhash = old->l4_rxhash; #ifdef CONFIG_XFRM new->sp = secpath_get(old->sp);