Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3356563imm; Sun, 19 Aug 2018 19:01:26 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwZi1j/IUaQeBLsE795Gq7Qh7lzsDuSb29slnp7wJGcAm5bvvyC3w1QeIEb91/6zJZCH+ax X-Received: by 2002:a63:8b44:: with SMTP id j65-v6mr6655241pge.325.1534730486240; Sun, 19 Aug 2018 19:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534730486; cv=none; d=google.com; s=arc-20160816; b=MDb7Frv5Fle5lX2y3/XW429mQZjUq3dcpBFCLJWsHYCGrd9rVWo1ECjSOJtdUxV/IG MuS51xcopCQRTMp7/h3JyfFENYkc3+7eK7mc1tESCI2GyBPKLLiClPDx9h8UxuWBe4yn Ewj6G2VILLeaOZkS8NN1R8wWv73fYyeht3HLinv+OiDaavIf7hNSAToJvOAyuiqKzN0u 2AZC4vvD6S8UNegaj3KUeVLqdXz4ms7GkHIW3we3eVfe/frXMwiyc3gkuuVpWVBQZGZ/ JN1WnaM1FLx8vRpSIRRVUR4KCO3Uu72Ixl0bRopPgrsiDtO4g9aNTu5mi4/mkR6LEwoH XheQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=yhcv5toH40yR+VCO3q1TOZAKWHJKSuK9YBuGMnLnys4=; b=BcEgivEkJiJDR7U03cPYa6UqWqMuMklcN+eOBaTBEAgxu3GL88y+sNuW03kzHiPg+8 TCEHerZcQ2+H/DeuTZSRjtYxY/q/sTVJtBm17Mkjk6xfERqYveENzFZ6IQWcADybjhb4 DkH4x+DPNxoNAyb2GUgNLa9pSSphfUNBa2N2blrIMUBl1SToUoxV8AHb6mD6dUWv9Vf6 1S/KBCIrwfNfNQqs/Re+ziofzx5a1bH5gYNYwmgEHCMLutn8y9Ku6SK2VkoCX7DBm8Ee cqK/egNOcz/6jHeTfnPkSJreG6soEb+bM82FYdd4snJ2cGIOJXNxVjsWjV2VwsCpXHk3 ByUw== 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 y9-v6si8454506plt.302.2018.08.19.19.00.59; Sun, 19 Aug 2018 19:01:26 -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 S1726032AbeHTFMD convert rfc822-to-8bit (ORCPT + 99 others); Mon, 20 Aug 2018 01:12:03 -0400 Received: from cmccmta3.chinamobile.com ([221.176.66.81]:43616 "EHLO cmccmta3.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbeHTFMD (ORCPT ); Mon, 20 Aug 2018 01:12:03 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.19]) by rmmx-syy-dmz-app09-12009 (RichMail) with SMTP id 2ee95b7a2035914-6033a; Mon, 20 Aug 2018 09:58:13 +0800 (CST) X-RM-TRANSID: 2ee95b7a2035914-6033a X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from [172.16.200.163] (unknown[112.25.154.149]) by rmsmtp-syy-appsvr10-12010 (RichMail) with SMTP id 2eea5b7a203457c-0e372; Mon, 20 Aug 2018 09:58:13 +0800 (CST) X-RM-TRANSID: 2eea5b7a203457c-0e372 Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH 1/2] ip_vti: fix a null pointer deferrence when create vti fallback tunnel From: Haishuang Yan In-Reply-To: <20180819.112753.320024709787799108.davem@davemloft.net> Date: Mon, 20 Aug 2018 09:58:11 +0800 Cc: steffen.klassert@secunet.com, kuznet@ms2.inr.ac.ru, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, edumazet@google.com Content-Transfer-Encoding: 8BIT Message-Id: <92EF6630-83A9-4F42-8444-8E67C801208E@cmss.chinamobile.com> References: <1534662305-16734-1-git-send-email-yanhaishuang@cmss.chinamobile.com> <20180819.112753.320024709787799108.davem@davemloft.net> To: David Miller X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 2018??8??20??, at ????2:27, David Miller wrote: > > From: Haishuang Yan > Date: Sun, 19 Aug 2018 15:05:04 +0800 > >> After set fb_tunnels_only_for_init_net to 1, the itn->fb_tunnel_dev will >> be NULL and will cause following crash: > ... >> Reproduce: >> echo 1 > /proc/sys/net/core/fb_tunnels_only_for_init_net >> modprobe ip_vti >> unshare -n >> >> Fixes: 79134e6ce2c9 (net: do not create fallback tunnels for non-default >> namespaces) >> Cc: Eric Dumazet >> Signed-off-by: Haishuang Yan > > Applied, but please format your Fixes: tag properly next time. > > Do not split up a Fixes tag into multiple lines, no matter how long it > is. And enclose the commit header text in both parenthesis and double > quotes, not just parenthesis. Like ("blah blah blah"), thank you. > Okay, thanks for reviewing.