Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp699763pxu; Wed, 6 Jan 2021 01:49:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/jEas9iIkJtuvWHw97zAgBbiLBMUSSTibgbYf4hZfNV5eOJ0JUQ+8wiCNtOBYj7WRJs0X X-Received: by 2002:a05:6402:b57:: with SMTP id bx23mr3344365edb.191.1609926581277; Wed, 06 Jan 2021 01:49:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609926581; cv=none; d=google.com; s=arc-20160816; b=Cc9sSonv7FUiJalCQ9qx8foK5PbLlcdiSgNiYGlH14FVYF3VkjTOl16Mx3reO7xicM vwYpHContFRBpeq2ry7mRzxipL7veFLa4l83HeM8w9MYy2r19tMUZwh2AIB4K+bJHcD4 8iW5Qe1EGD5uxbRijTLMbQjSHuCRlM8a7c3xpVgEfjMVsoEJ3bzRU51UhD0ALGPWnXU8 TP8Ihioyqh9tlHhXRy+uz2d0HPiHWTKopIozRF6VF/Kam9XYo5OehQIxPzGOqnYRbet7 LVfiusYNT27oG9qAqvZ72UzkzsQrhjanGvGdsVKwK3GVsK3ZOpWn6N1f+wv9n70jcnSJ o8fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=h5+T1prwzDtywyVEbUQxd9+cO35FH4NnS7N3tGnk6EU=; b=DHAhth9mBgNNF1x0qboTcdN8JjWnwTYvJOO2j5Zm6EnsHNY/R3FZk0HstsXpkQqOxu 9ifOE1lyEPd860pEpdEo3b/JTRqCFSp1ZtsaFB2APP10KdlRpH50XF6xZ2UHtdlxfAOQ tOa6ILoFa7IZjwZrn1i/Xjq/QNrSm27Zvv5Vxk6kAkMq93R4+i0QShc18zT9U9M1Ss1Z nIeVoGQnfCqCc6Ah1xlZnBR4OCviN72nUkcIvQd7/aN7zdCm0jRYZoHiLRyCg4DgS1S4 L4kDoeuvGtblHYS6imq5Ad2JmExHueUb2T04NsK0mtTetnQU/kQLrHrfbUnnNVLdEEAB 422w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l61si824640ede.106.2021.01.06.01.49.15; Wed, 06 Jan 2021 01:49:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726298AbhAFJrN (ORCPT + 99 others); Wed, 6 Jan 2021 04:47:13 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:10395 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbhAFJrN (ORCPT ); Wed, 6 Jan 2021 04:47:13 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4D9kxq1PFhz7Qp2; Wed, 6 Jan 2021 17:45:35 +0800 (CST) Received: from [10.174.177.149] (10.174.177.149) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Wed, 6 Jan 2021 17:46:22 +0800 Subject: Re: [v2] net: qrtr: fix null pointer dereference in qrtr_ns_remove To: Markus Elfring , CC: , , , "David S. Miller" , Jakub Kicinski References: <20210105055754.16486-1-miaoqinglang@huawei.com> <4596fb37-5e74-5bf6-60e5-ded6fbb83969@web.de> From: Qinglang Miao Message-ID: <1a736322-42ce-e803-f91c-dc7595acffdd@huawei.com> Date: Wed, 6 Jan 2021 17:46:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.149] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2021/1/6 16:09, Markus Elfring 写道: >>>> A null-ptr-deref bug is reported by Hulk Robot like this: >>> >>> Can it be clearer to use the term “null pointer dereference” for the final commit message? >> This advice is too detailed for 'null-ptr-deref' is known as a general phrase > > This key word was provided already by the referenced KASAN report. > Yep, you're right. 'null-ptr-deref' is not really proper here. > >> like 'use-after-free' for kernel developer, I think. > I suggest to reconsider the use of abbreviations at some places. > > >>>> Fix it by making … >>> >>> Would you like to replace this wording by the tag “Fixes”? >> Sorry, I didn't get your words. >> >> 'Fix it by' follows the solution > > I propose to specify the desired adjustments without such a prefix > in the change description. Sorry, I can understand what you means, but I still disagree with this one, for: 1. 'Fix it by' is everywhere in kernel commit message. 2. I think adding it or not makes no change for understanding. 3. I'm not sure this is an official proposal. > > >> In fact, I do considered using 'Fixes' on this one, > > Thanks for such information. > > >> but it's hard to tell which specific commit brought this null pointer dereference. > > This aspect is unfortunate here. > > Regards, > Markus > . > Thanks anyway, I shall pay more attention to commit message. ;D