๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24643

Re: [PATCH net v2 1/2] mac802154: free the skb when MLME TX is rejected

#24643
From: netdev-bot+sashiko
Date: Mon, 30 Nov 2026 14:03
49 lines
9561 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] This commit was applied with its mbox headers left in.

--

mac802154: free the skb when MLME TX is rejected

This commit makes ieee802154_mlme_tx_locked() free the skb on its two
early -ENETDOWN return paths. Callers expect the function to consume the
skb, so it was leaked on both paths before this change.

Link: https://lore.kernel.org/linux-wpan/179370015236.488856.9062135405491525675@kernel.org/

> mac802154: free the skb when MLME TX is rejected
>
> >>From 0fb563b521939707808b720d3e5801b3370c97f2 Mon Sep 17 00:00:00 2001
> From: Lee Keon-Hyeong <leegun25@proton.me>
> Date: Fri, 27 Nov 2026 11:42:37 +0900
> Subject: [PATCH net v2 1/2] mac802154: free the skb when MLME TX is rejected

[Severity: Low]
This isn't a bug, but it looks like the mbox headers were left in when the
patch was applied. The commit body still begins with the escaped ">>From"
separator, then the in-body From:, Date: and Subject: lines.

Because the ">>From" line comes first, the in-body From: was not parsed.
The recorded author is the bare address:

  Author: leegun25@proton.me <leegun25@proton.me>

That doesn't match the trailer:

  Signed-off-by: Lee Keon-Hyeong <leegun25@proton.me>

Could these header lines be stripped, and the author reset to
"Lee Keon-Hyeong <leegun25@proton.me>", before the patch is applied?
checkpatch reports this as a From:/Signed-off-by: mismatch.

The companion patch, "mac802154: fix locking for association response
TX", appears to have the same problem.

-- 
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/179595738440.2351517.6900122072700162037%40proton.me
Technical Details
Message-ID: <179604743967.3146.9395968096525674183@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374247-linux-kernel-netdev=dewy.ru
References: <179595738440.2351517.6900122072700162037@proton.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374247-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 1/2] mac802154: free the skb when MLME TX is rejected
Date: Mon, 30 Nov 2026 14:03:59 +0000
Organization: Usenet Network
Message-ID: <179604743967.3146.9395968096525674183@kernel.org>
References: <179595738440.2351517.6900122072700162037@proton.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1441391"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:NKxYhozNFPe1eStNfYnB7g9l6wU= sha256:nmjzw5QN+2KCM/VE+Tc0RLPKLnWOb8gVsKzcmSrEVdY=
	sha1:ueyIGzG2GtEJvy9vWV8er3OABcE= sha256:YIgJ8UNGaued+KhTORZIK85MWnHqPzC3x09pyJyUXeU=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 7F4F2125FF0; Mon, 30 Nov 2026 17:04:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id j51NsBWJbwxK;
	Mon, 30 Nov 2026 17:04:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374247-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id EBFA2125FEE; Mon, 30 Nov 2026 17:04:11 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 66C3A318A0; Mon, 30 Nov 2026 14:04:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796047442;
	b=UWJ7RFoieqLZ9+38GT1YsJnl+ZCxWXTpiTN5AqxC9XA0lng4onJC2ike0z65GMb7Gr/A
	 XnT929ongyojIC90ee0lFCyhGFguZCQdIN6bZoVm17HnWHPpWlzIqlZJUmUimotexqADO
	 KY/zBML3VCgzggdtQ5tgfOsbovYcgvcyUYm981wOSL1+Xk8IptoSRBE2oyDsMZPoMWWTk
	 90SMWLw4kqagZfUSnMwYgoms8gOMcU5kR/uhQNQzbIE+nHQt2Dh37+EJwELHJXryDy2vd
	 mGjmVUvfCZT0NI6JDJ/HBuadJx//LEJscbvgMFGgA06xki7dBDwNWPOA6rBb7FD9w7g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796047442;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=UDVg3jfxCISQgUIA5Q9WQ72q7G4PujAg7sd1z66FkYw=;
	b=u5jn0Io2KA266pkXux6m2ECL7/p1YyLMACCJ+6LMpM6bsVcPIRlBi/W6/OQQZe9GxJjw
	 3YvrPqaPZtlUDvJQAJz+03EumN5f62WYTJh/tAtSOUboTUU0VwvI3RBMlrfBQ+lIESqd0
	 gLhZ+pmxO6Sn2t2F9VNYBoQgrwimN5rT8G7Fn3y2HSFUSpbSqojSNIgZafuZW3QmQsluf
	 XzDBnPMdE8DgLImdb3hhbTOsCSNOVdTV+gqMcQMzs1KbB63A0gCTs1qQzTuPK8j7BDBG5
	 koLpog3dw7eucVaaN0DdV8YZDmgNAfM6IR84Jtne3Kw0srR9e6jKcOx0EhYcUWxwyIQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AebxNklF;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 178BC606A339;
	Mon, 30 Nov 2026 14:04:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AebxNklF
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796047441;
	b=dr70kqpxE4KspZERnHvhZMnsFwSNeX5EPS9QoUI9+pRzDCmiZoMV+eIlDcqJ/9mFFeRC
	 BYuKWjjr+xd01UpQEszQYYgLKpHpMz4T0kln5Qj9XUZMQu7Ebohbjpt++4PQ5o7HMPoyL
	 W+HNtXnd0NCbafWCooMhAECarcxllCeIxiyQu8aGlkm4sjpaBVaWUIuiuDUuo0K2veamd
	 y6Th/Q4NZmP5qv5v7m5x7jK79V5GGYBaokXKc5wal8xLns2Vpci7+01F25UrBqFq3atmg
	 v/KtZRK6epRN+LAe4GB+MjNZjp/aXN4SdJx8u56XXmhyYCNNrtBK8oIfNHc3RRh3olg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796047441;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=UDVg3jfxCISQgUIA5Q9WQ72q7G4PujAg7sd1z66FkYw=;
	b=RSw4s4oEq/QvwcNkAFOmaTdPmNB6Ru4q4hrnPuyKNgRQlZxVnnP3muDddUiqL4vecrps
	 0xyGwiJY1jyiCrPz9KKgXK5uqTNiPtQQnyKAWhj7yXJRBlzjscQp2CNkAC5UXShtCHkZ5
	 xVoD1bOGpI1T8btn+VfLSyBZc2sJYBSrEiJ8KdKULQ6wuVvKSuMA+pjb5S86I8GaZ1hYo
	 YhttIIF0JrY7DtmFbHZFwavNKjgVNfVNBXGHp2Va9xMyLO1fvLAsXLr/f+GjxJEi1MYsj
	 NIxvSd0RK3RkSf/kE7GIdr79uEDZDjhYsnfabDLOkOM07Fe23E6ddNHq2lEwv6CaROQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AebxNklF;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36D90606A327;
	Mon, 30 Nov 2026 14:04:01 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63BB51F0089A;
	Mon, 30 Nov 2026 14:04:00 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796047440;
	bh=UDVg3jfxCISQgUIA5Q9WQ72q7G4PujAg7sd1z66FkYw=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=AebxNklFzeDIos3/M1R43QPJRBkUSNNk0BdEWGZ4e0sz2V98rsOE0NGoq0374olkh
	 F/7SN1PWVkq1gDZI0RIjPcOkG1/4wXjeGOdhdjurqMc4UUiV0hGEG5kAof25cG9Jhw
	 SqfV0hGcUrR2pgN2J8IThq5aSsP76piEVxc/du63NWf9ikPcnVdwNPjdPhUDJ6+cwY
	 mdQWD/Ym9CMvGays+74y3YUUz09Wh7eETcSr9Wxu2r9LZoJPj9Y0ap4HLKbYyJ0av8
	 JiP/3ksqUvebXMnyqMfHw7dXpU9jpe0Sfb8D6ptf4Px1gQQXI7Yo5tQggSb0PRMqYY
	 tHd3ye+Ldmvkw==
X-Cc: miquel.raynal@bootlin.com, alex.aring@gmail.com, stefan@datenfreihafen.org,
 linux-wpan@vger.kernel.org, netdev@vger.kernel.org, kuba@kernel.org
X-In-Reply-To: <179595738440.2351517.6900122072700162037@proton.me>
X-sashiko-severity: Low
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list