Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp459737lqh; Thu, 28 Mar 2024 07:10:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVsxGp/j9L/RRpycJ0adbGfSALUQspKftxFDc0OXLXqcjeWCrR2g1P79vBvDR3V7khRaHgsGftKDR2lzqxGqY53m9HhQXeMqGK4JdIOnw== X-Google-Smtp-Source: AGHT+IFV27zJfIE4lB60KgwtysPNoyA7kGn749TBcyYRcEy0GEWPIQlWsjGYJpiA2SsS1dGghQIQ X-Received: by 2002:a05:6214:d0f:b0:696:70c9:75f7 with SMTP id 15-20020a0562140d0f00b0069670c975f7mr3093253qvh.61.1711635001635; Thu, 28 Mar 2024 07:10:01 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f18-20020a0cf3d2000000b0069163f623b8si1499099qvm.20.2024.03.28.07.10.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 07:10:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b="fN/F3QvQ"; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-123033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5A00E1C2B5D6 for ; Thu, 28 Mar 2024 14:10:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B3F7823CB; Thu, 28 Mar 2024 14:08:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fN/F3QvQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C40281AD2; Thu, 28 Mar 2024 14:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634919; cv=none; b=Ii0L1mEfjl+BoaXpxlNr8C7yRM5/TriPVnXrEf/xWnsURqZZvaS6ghveCoBRU/9jJ6P1wJgG9s/2a/jirnBVRupDSPLslVBP3o5VMoWhITPQdDjx9Mfz88lUI5gwAKWAcEzsB8qqg7z0chQtLzNc+43E3/6sn/wLY5EpHUqENZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634919; c=relaxed/simple; bh=MmbZ0ahCCHtV5qsDRCOojRvFo+8CrnG/5V4HvoQ4sLU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DVpSsDupXpTiwxAD55+nLzQkoqYUbb0p/aYB9xxThSm5Ji5+pBcJ2/2B7zqjrtDjAPDVLGJ+SdlzW6fz7CTxlOubBJ2w3mOwED2djHSWOqL6ibCmYMlmA4IA8kktc+0ahxG0FMhGdj/VDqF/SAt5la0+ZwVsnVkba+UTMvgJIiE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fN/F3QvQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B198C433C7; Thu, 28 Mar 2024 14:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711634918; bh=MmbZ0ahCCHtV5qsDRCOojRvFo+8CrnG/5V4HvoQ4sLU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fN/F3QvQlBi8eZVq3NKCdhtmZbUoZjzW8WGEEdaVMOZlmaGnXzMItzA0w9E3fP8UZ ez8QJ8HulpC6NHE0wpGKTxzvVCwA7DIQiuWYlLPK//qcWdYNAy2GRObzU1CmJAruCk UtIBBTnL9lXaOwwPCx1m/ZswYzrfnfCY4tdVXruE2poqOsXL4v4Y6WQB9y8Ld3KAn/ Do8BbKbfbWbrRJG7nvHT0iAeMqJkswl7OEae31BdeRMHFrENH2yIHZrculLln+zPS7 MfH3vcNciBjkj3xMPBRoXDnAU2TlNicQ3AOeJbzUuOG3lZN+1aIzZXbuTflbJ5LgN3 ajMoIhMXoEMQQ== Date: Thu, 28 Mar 2024 14:08:34 +0000 From: Simon Horman To: Oliver Neukum Cc: Sai Krishna Gajula , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "netdev@vger.kernel.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "syzbot+9665bf55b1c828bbcd8a@syzkaller.appspotmail.com" Subject: Re: [PATCH net-next] usbnet: fix cyclical race on disconnect with work queue Message-ID: <20240328140834.GM403975@kernel.org> References: <20240321124758.6302-1-oneukum@suse.com> <04cfa214-4d45-48b1-87ba-500e3e501977@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <04cfa214-4d45-48b1-87ba-500e3e501977@suse.com> On Wed, Mar 27, 2024 at 04:10:36PM +0100, Oliver Neukum wrote: > > > On 3/22/24 18:43, Sai Krishna Gajula wrote: > > > > > -----Original Message----- > > > From: Oliver Neukum > > > Sent: Thursday, March 21, 2024 6:17 PM > > > To: davem@davemloft.net; edumazet@google.com; kuba@kernel.org; > > > pabeni@redhat.com; netdev@vger.kernel.org; linux-usb@vger.kernel.org; > > > linux-kernel@vger.kernel.org > > > Cc: Oliver Neukum ; > > > syzbot+9665bf55b1c828bbcd8a@syzkaller.appspotmail.com > > > Subject: [PATCH net-next] usbnet: fix cyclical race on disconnect > > > with work queue > > > > This patch seems to be a fix, in that case the subject need to be with [PATCH net] > > OK > > > > > > > > The work can submit URBs and the URBs can schedule the work. > > > This cycle needs to be broken, when a device is to be stopped. > > > Use a flag to do so. > > > > > > Fixes: f29fc259976e9 ("[PATCH] USB: usbnet (1/9) clean up framing") > > > > Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("")' - ie: 'Fixes: f29fc259976e ("[PATCH] USB: usbnet (1/9) clean up framing")' > > Ehm, what exactly did I do differently I think the point being made is that the hash has 13 rather than 12 characters. But, IMHO, that is fine because my understanding is that the requirement is that the hash is at least, not exactly, 12 characters long. ..