Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11477581ybi; Thu, 25 Jul 2019 17:26:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLDGmmFPPO6ns3D/d/CaRqwRg+ZD2Wn9iHMGialBsT3AMHipreY9bc3Ltq8p/EVm4+/m46 X-Received: by 2002:a63:5452:: with SMTP id e18mr72359873pgm.232.1564100812804; Thu, 25 Jul 2019 17:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564100812; cv=none; d=google.com; s=arc-20160816; b=uE6D0hTn8qzX8gwuYXLcdkjlgOPTZEeCyS/PN+C8agu6yXW8sGqr31kpQc510m2OHc pwlZAGJbMFMhY870W8ZivRsm4MywkVUkincW31FYhauuiVZq81DgqLpiUr2UXxjqH/dD QqhhvKeGOiU1mIj/tmCTWNFFNuvM2RgSo59zA7NMAJgxxkfBGFawX+ii/it8ldcf8Zqz 3nf6G/6Dx9fUGpNXaCaq7OJNyMqIz3Ipscser3cVYmqiUk1Sq8Fw8k5dhw13i8ujDwnO 4SvS26x/S6L2rfhQbY3zSSeEWh3a01m2SNgux2N92Egd6m3cAN5a/r4b7VN1iuxiwpK1 qitw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=qOepCwS+RvxXrGmBZpbW5mpFSpYGp9wh9NQirYGek0o=; b=BaLGLbU6/Fc4Nslu2aOEErXIeHDSMd0BYRhjImGGQcP1cx6LxduL+ysFv2YH/hKhPY twMdLzuZWS7GDOIaQEJtdNXeqNibiEIsyXIEH4YbG7UzwppA0KXCVQ9WnMudemJjeWS/ lmXY2scNcdPgsfmaf9LuNSyB61us7wyWlYaY671wJwsdoSaDeYrS48qRK5XhRlASbzEP j2g2qgZShLAbc+0AHxleutNifKta8hbDH8zXes1GIfZIjrcgUAAjvmPAmGB4t7aZUn4i u3x3q0bY1uwpAOrW350NqBF87ZiAp71YBQS3gQsQ9U03bUQEPBpCDYOqNVnKsTM3gBhX 14cg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h33si17383429pje.95.2019.07.25.17.26.37; Thu, 25 Jul 2019 17:26:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727022AbfGZA0C (ORCPT + 99 others); Thu, 25 Jul 2019 20:26:02 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:41378 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726920AbfGZA0C (ORCPT ); Thu, 25 Jul 2019 20:26:02 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7680F12650646; Thu, 25 Jul 2019 17:26:01 -0700 (PDT) Date: Thu, 25 Jul 2019 17:26:00 -0700 (PDT) Message-Id: <20190725.172600.286178066068275828.davem@davemloft.net> To: yanhaishuang@cmss.chinamobile.com Cc: kuznet@ms2.inr.ac.ru, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipip: validate header length in ipip_tunnel_xmit From: David Miller In-Reply-To: <1564024076-13764-1-git-send-email-yanhaishuang@cmss.chinamobile.com> References: <1564024076-13764-1-git-send-email-yanhaishuang@cmss.chinamobile.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 25 Jul 2019 17:26:01 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Haishuang Yan Date: Thu, 25 Jul 2019 11:07:55 +0800 > We need the same checks introduced by commit cb9f1b783850 > ("ip: validate header length on virtual device xmit") for > ipip tunnel. > > Signed-off-by: Haishuang Yan Applied and queued up for -stable.