Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3074126imm; Sun, 19 Aug 2018 11:31:33 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy5jPweFa/RLNTqWrFTBsIfmhQgITfcsJ3p9+TgbCx2V04FZlMFvhrO9gs64CAG9kMWiMyb X-Received: by 2002:a17:902:f098:: with SMTP id go24mr12168047plb.183.1534703493456; Sun, 19 Aug 2018 11:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534703493; cv=none; d=google.com; s=arc-20160816; b=sbW147B1RIicS3cynzKztcOpL/zxUUtBYFiEDa9PtZSDn/IjB1zQJ2sEpRImALNN5/ qoBqFd9+3iApOMgkM9ZmrZQVPVAfC6shngn5qANSIMuBXxuOY6I8jdovAmIQ5Avqd0Tq ZRkipeW5HGNNshd77zq7/k7dLjs2FWDC+x4yb0saLnKAFh0UT2fWUFxvR7lTUJT0cZCp SPJDgFErT24K+bOPUDN+CoNakcyGo+7u+fWtvhJR4rDkOlMNfZNY9oeQQKrHWqMOobOy ncxRGHAvfADKryBPcMVyIwr4wb28dS2/tjzuaZt8C7c8vPtxazXPD9APv9TOpgd55L0r sQqQ== 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 :arc-authentication-results; bh=xjsHV6AoSdTW/9cfnUR6qQjgZJqWMPUWKpBPB2VV8Ng=; b=DmfhDMwG/DDDbW7ElKcih5FyGfqvBCN0uouRjkj6u0R10sAJ+gDJEI2yZd3LwU4Fx5 sXwipD9oPut+ymNje4IHe7/EJO1vsXNlNIkZDTzcreOvdnIH6HwDtzAjf9K9mSr1WI4J oH6OVASdObHPAaF4ZC2P0n9ZXBtGjfq932b+L58kawuNbycGfi/ZfW3AZDm0t+9rCeJY pAI70uoQv07qlBK+Tqq5by7/yimffjbGex55UQNb5suL/DCwkIJTzOho4k8Yiag1Aosy 3NMSI/kkt3Hgk31DZrcVC9pIL1ZnrZlpzWdtV0Lu7vvcmqLrvfK1kCsZwc9OC6hLhQHl mOOA== 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 b2-v6si7425640pff.192.2018.08.19.11.30.49; Sun, 19 Aug 2018 11:31:33 -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 S1726525AbeHSVkR (ORCPT + 99 others); Sun, 19 Aug 2018 17:40:17 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:33760 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbeHSVkR (ORCPT ); Sun, 19 Aug 2018 17:40:17 -0400 Received: from localhost (71-36-117-41.ptld.qwest.net [71.36.117.41]) (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 617C91473D024; Sun, 19 Aug 2018 11:27:54 -0700 (PDT) Date: Sun, 19 Aug 2018 11:27:53 -0700 (PDT) Message-Id: <20180819.112753.320024709787799108.davem@davemloft.net> To: yanhaishuang@cmss.chinamobile.com Cc: steffen.klassert@secunet.com, kuznet@ms2.inr.ac.ru, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, edumazet@google.com Subject: Re: [PATCH 1/2] ip_vti: fix a null pointer deferrence when create vti fallback tunnel From: David Miller In-Reply-To: <1534662305-16734-1-git-send-email-yanhaishuang@cmss.chinamobile.com> References: <1534662305-16734-1-git-send-email-yanhaishuang@cmss.chinamobile.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) 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]); Sun, 19 Aug 2018 11:27:54 -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: 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.