Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp765960pxp; Fri, 11 Mar 2022 14:33:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvMgX7y6cI09JEbDqlqXXvacswLqarS8bt2Z/jISSmpvPIZ3jXdHwl+A065e30FfoTqYI0 X-Received: by 2002:a17:90b:4c44:b0:1bf:f00:3735 with SMTP id np4-20020a17090b4c4400b001bf0f003735mr24233721pjb.168.1647037994542; Fri, 11 Mar 2022 14:33:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647037994; cv=none; d=google.com; s=arc-20160816; b=IcNVlc1PFZO1pgwK/HQgAh6WmqVWgikfy4Hx/Lu+ZB9WnUhJKsSv2ibkC8tNo+vczS VpG8VLkbKR7pAKRKdMUqvBzJiR9qIaFkwCQJxkWL54qYtVdPopwYORpOcMTxjgUlQloz ZZsJyBc9rEeCNH90+MNeviBNjsnVSSrDh52SOADy3a5mqxDf9skiCPxtt0P/84g8pVQA NyXQW9S6+E5LZXLOX/Y3iNHDU+NG02hci2olnJ1JwmwRHkPtbLiA2aWWS2LajLHjoYAD UTVbTPK8kdLnJFZ9lt5O/iPVribcfvvQ28y6AXreY3Gge5RyoX0xg1DnoiDWNRrPbrBq 38hA== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=UKtyCUMP3qwcACml1aXOWoi8Ga3gmD02zYRaxw20XDg=; b=HJPy3bh8asqv62wBk7gWrO2Gtz6BJP8uMFf/8pmk7L1y+sgWIv+BAqBxfDsFIq5p0Y Me8muMYhK1Dvn+zbxS4MIqahY0VcAhkNMF0N5aHxbPD25Xu5hv22yya/C8gAjQ4IVpd6 3WqTAlPmKtpAT+V6MbAhmXX+IFzPATjI1MgZH0+VmGA3xwLPABXULmQ5DNNk39yJGFkU RAqA1EdTFrkq55tLWvJYMLUkgJ3NCaPXhEbP5jcBjsHz6mtjAtwo43x0FxySRq0KUdVY NUnm2wCM4zTSS9yl0bRYaeToZe0W8rKaSZ/Ja5FHpbdeFYTjolQhBHJYr7ftbxdywTW8 b9fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OKXcvYE7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l1-20020a170903244100b00151ceccb740si9329438pls.380.2022.03.11.14.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:33:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OKXcvYE7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99FBE1DB3E5; Fri, 11 Mar 2022 13:39:22 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229980AbiCKIYJ (ORCPT + 99 others); Fri, 11 Mar 2022 03:24:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229474AbiCKIYI (ORCPT ); Fri, 11 Mar 2022 03:24:08 -0500 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B16D8F11A6; Fri, 11 Mar 2022 00:23:05 -0800 (PST) Received: by mail-pj1-x1044.google.com with SMTP id v1-20020a17090a088100b001bf25f97c6eso8319167pjc.0; Fri, 11 Mar 2022 00:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=UKtyCUMP3qwcACml1aXOWoi8Ga3gmD02zYRaxw20XDg=; b=OKXcvYE7pZfwMF/H2CFbDgpq4NKsosl8jKLB9g1Jb1UPKlPc8xRKISjMR8p/04+N/1 WWngWA2/HCZWdoo5DBTDdWvFXyDEcnBm7INxV0SAjDRUAFL+PUBFksRSWC80JijIzetA SZfxkWZn9//Xwz6029MF2V6jexf8oGCT0lVAU8Qa1Zhcqy+strQZO9Wwhbhl0zLJHd4O FzAedLwzHmlAnlne/3vFWz+pjfmzyYepH0bPWKJAJZhWARfWPemPISflNMCuZqLCp3Ee ekFjmrAnhPsoPuOAglJe/Pe51ZmyqY2c7UE530I4s9X2Q5AiQCadGSyzbjklKma7qjHk ZRkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=UKtyCUMP3qwcACml1aXOWoi8Ga3gmD02zYRaxw20XDg=; b=ydHPEedWcSeLMGDa7tDeoIHwj44h27slWI57JN4YfoyLFfxHTqTZ0W/X6xhYk2Ewwz StRtL6QdjNmQ2xoGVlq9P6zO2dmIEM3d4SODvyotIVCDnmCuXm+G9pgCHF0Linjx8Cgx oXrc4faYbwvqtaJG0giOrlGmnuMgxcMAiDv4poBIy1JdzXikgQLXQjz0C9LJuosIpzKP cNpnEStMroi3zE0OK3bN/MTcX0ynT47D/FKYgzmPAAkacoFPHIUCpEOIE5fcehuQ1Sp5 onqkx0NbKGf8JMgoMcY/CePbyV2wfiud70FmepAEdhISYCioOabU1GQXwsm8nosZvHBJ z9CA== X-Gm-Message-State: AOAM530KZ66bPNAx+yv+jXj4OeTQ5gDyig6sNK0IWimn0t+waT93DglK /AqiMxZTbGD9aApmR5ghkRU= X-Received: by 2002:a17:903:2308:b0:151:8b3a:e43e with SMTP id d8-20020a170903230800b001518b3ae43emr9357770plh.30.1646986985289; Fri, 11 Mar 2022 00:23:05 -0800 (PST) Received: from [10.11.37.162] ([103.84.139.53]) by smtp.gmail.com with ESMTPSA id s6-20020a056a0008c600b004f667b8a6b6sm9192433pfu.193.2022.03.11.00.23.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Mar 2022 00:23:04 -0800 (PST) Message-ID: <03303592-ad5c-ffd0-80f5-8d1e64c2b011@gmail.com> Date: Fri, 11 Mar 2022 16:22:58 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] can: usb: delete a redundant dev_kfree_skb() in ems_usb_start_xmit() Content-Language: en-US From: Hangyu Hua To: Marc Kleine-Budde Cc: wg@grandegger.com, davem@davemloft.net, kuba@kernel.org, stefan.maetje@esd.eu, mailhol.vincent@wanadoo.fr, paskripkin@gmail.com, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220228083639.38183-1-hbh25y@gmail.com> <20220228085536.pa5wdq3w4ul5wqn5@pengutronix.de> <75c14302-b928-1e09-7cd1-78b8c2695f06@gmail.com> <20220228104514.der655r4jkl42e7o@pengutronix.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, I didn't find this("can: usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path") in can/testing. Did I miss it or did you forget to submit it? Anyway, i find this problem also exists in two other places. You can check them in: mcba_usb: https://lore.kernel.org/all/20220311080208.45047-1-hbh25y@gmail.com/ usb_8dev: https://lore.kernel.org/all/20220311080614.45229-1-hbh25y@gmail.com/ Thanks, Hangyu On 2022/2/28 18:47, Hangyu Hua wrote: > All right. :) > > On 2022/2/28 18:45, Marc Kleine-Budde wrote: >> On 28.02.2022 18:44:06, Hangyu Hua wrote: >>> I get it. I'll remake a patch that matches your suggestions. >> >> Not needed, it's already applied: >>>> Added patch to can/testing. >> >> Marc >>