Message ID | 20240105075733.36331-1-alexis.lothore@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-17561-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp6081027dyb; Thu, 4 Jan 2024 23:58:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLubh2+vMgD9NWs78FJjdY8adzEFvkes7Jo7ttBvbswqCYrto8doDCI1RnZJt/HT9Nog7M X-Received: by 2002:a50:8a9c:0:b0:553:2b04:14a2 with SMTP id j28-20020a508a9c000000b005532b0414a2mr984620edj.14.1704441528217; Thu, 04 Jan 2024 23:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704441528; cv=none; d=google.com; s=arc-20160816; b=APZtjkW/9k7DEiwgyyZB2N4QguExhChOFnrHWzjnk9iZE1xCtrb2zY3UtSq6oZuglj +rrlgTuLLUNS/0kpYb6UioowFvdda4+fGH9LWYFcjsAZc2yWJdAPEvnx0YfWwmuP+FZd G5b+SvDyMIRBalv7ZLUCU8lw0y5ucP/PBTYMRTiMu6fLG86slDcWrrxhQxur+ySJBXjP xNeidOd070J7Z6AhoFOSCi9Gj5TcK6eQKPOfNUDe4NwBGcWVZY+kVeDhl47LfVVCppF7 Ki8dNZU0ELGzOZoZHbWHQkglqe2Ga1bds9O5wkP4DBbi0XqT71WpjcEQ4FA/RR0fXgiN x14Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ePVzhc7ydJX94hwyc9SvNbbBg0js80IIMVNsWHlS780=; fh=mPOs/O0IEcyTN5lQh0bkCejGHB03ivjM6E6P227s3/I=; b=FsHpTuJdAP7MDdVKw9QKBvHhUZR6K31Ioo/w8V2sM48HEzgwTws+hQobAiU7mttfMQ DKpxcACC3nFOQTRLRX8x1+ei0sfnCH7IyyFdv4x+OdEaCq9H6wLHzpGcRt7PRPs1WnBf mL4fKaxHybqhdI1xbmsfsjIITiGcqh7qERtE1hFVeAtEXXocArw81GLL6FDkpZxKaq/Z Yi5PZmzwuNkpb/1sgbZuCLdAJgc76qFm2W4in+t0rbMNCeHvydxjpl1HJiZGMaNXwVUl DtUb1pubYk1Z4/QhwH/AyTbhs/7wyntzrhw/yzeS95WpcxWRmj2p7VJdH0gho7qyLInx 1HvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Lgk0To0F; spf=pass (google.com: domain of linux-kernel+bounces-17561-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17561-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t12-20020a50d70c000000b005565057cf23si447199edi.435.2024.01.04.23.58.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 23:58:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17561-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Lgk0To0F; spf=pass (google.com: domain of linux-kernel+bounces-17561-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17561-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D0E591F23682 for <ouuuleilei@gmail.com>; Fri, 5 Jan 2024 07:58:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 162C6224D6; Fri, 5 Jan 2024 07:57:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Lgk0To0F" X-Original-To: linux-kernel@vger.kernel.org Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 723B120B0E; Fri, 5 Jan 2024 07:57:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id DFD191BF208; Fri, 5 Jan 2024 07:57:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1704441468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ePVzhc7ydJX94hwyc9SvNbbBg0js80IIMVNsWHlS780=; b=Lgk0To0FgR4IYIy51TbxoMuEJbKmVjPvFZm6cgofMT3V6duhR8QvMMOZmQLJdDVokyJuE5 jD+Kk7Fk/tMfUdd5/vz16Nj7DhSOwDw81D1xXWWrCNt7zk4ZqrWfgVjMMGvEG7p2nwgR7z UpDkwa4/Rikud3fe2wPEH6caIyszXZRXIv2saRV9HAmRgSZHUr4FEzD0SCApvayFnY5m90 xxb3V0kcUCSBr6ynmSGSv/u5wCDNkWFacLsSo9ugE0kRwr13Ro1seadKWSYAo83xR8vhor AwXIf1607+MG1tyDAw8gJVb9HPpkFHQm3rHAAAcYDv/WzhhdBT0P+tVTMGyGxQ== From: =?utf-8?q?Alexis_Lothor=C3=A9?= <alexis.lothore@bootlin.com> To: linux-wireless@vger.kernel.org Cc: Ajay Singh <ajay.kathat@microchip.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>, Kalle Valo <kvalo@kernel.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-kernel@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr> Subject: [PATCH v2 0/2] wifi: wilc1000: fix RCU warning in connect path Date: Fri, 5 Jan 2024 08:57:31 +0100 Message-ID: <20240105075733.36331-1-alexis.lothore@bootlin.com> X-Mailer: git-send-email 2.42.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: alexis.lothore@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787236479709654241 X-GMAIL-MSGID: 1787236479709654241 |
Series |
wifi: wilc1000: fix RCU warning in connect path
|
|
Message
Alexis Lothoré
Jan. 5, 2024, 7:57 a.m. UTC
Hello, this small series aims to fix a RCU warning due to RCU pointer dereference outside of a RCU critical read section. Fix is in the second commit, the first one is a mere declarations reordering before touching declared variables in wilc_parse_join_bss_param Changes in v2: - fix leak in early return Alexis Lothoré (2): wifi: wilc1000: fix declarations ordering wifi: wilc1000: fix RCU usage in connect path drivers/net/wireless/microchip/wilc1000/hif.c | 40 ++++++++++++------- 1 file changed, 26 insertions(+), 14 deletions(-)