From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53E61EB64D9 for ; Fri, 16 Jun 2023 01:34:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232813AbjFPBef (ORCPT ); Thu, 15 Jun 2023 21:34:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjFPBed (ORCPT ); Thu, 15 Jun 2023 21:34:33 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DC832947; Thu, 15 Jun 2023 18:34:31 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Qj1pN1CRWzMn87; Fri, 16 Jun 2023 09:31:24 +0800 (CST) Received: from [10.174.179.215] (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 16 Jun 2023 09:34:29 +0800 Subject: Re: [PATCH net-next] xsk: Remove unused inline function xsk_buff_discard() To: Simon Horman , Maciej Fijalkowski CC: , , , , , , , , , , , , , , References: <20230615124612.37772-1-yuehaibing@huawei.com> From: YueHaibing Message-ID: Date: Fri, 16 Jun 2023 09:34:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/6/15 22:40, Simon Horman wrote: > On Thu, Jun 15, 2023 at 03:51:49PM +0200, Maciej Fijalkowski wrote: >> On Thu, Jun 15, 2023 at 03:49:23PM +0200, Maciej Fijalkowski wrote: >>> On Thu, Jun 15, 2023 at 08:46:12PM +0800, YueHaibing wrote: >>>> commit f2f167583601 ("xsk: Remove unused xsk_buff_discard") >>>> left behind this, remove it. >>>> >>>> Signed-off-by: YueHaibing >>> >>> Yeah this is a stub for !CONFIG_XDP_SOCKETS... >> >> Wait, I am not sure if this should go to bpf tree and have fixes tag >> pointing to the cited commit? >> >> Functionally this commit does not fix anything but it feels that >> f2f167583601 was incomplete. > > FWIIW, I think that bpf-next is appropriate for this patch > as it doesn't address a bug. Ok , will send v2 target to bpf-next. > . >