🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23010

Re: [PATCH net v2 1/2] mac802154: free a replaced child

#23010
From: Stefan Schmidt
Date: Thu, 26 Nov 2026 09:46
22 lines
7842 bytes
Hello Lee Keon-Hyeong.

On Tue, 24 Nov 2026 08:59:12 +0000, Lee Keon-Hyeong wrote:
> When an associated child retransmits an ASSOC REQ, the coordinator
> removes the old entry from the list but never frees it.  It also
> increments wpan_dev->nchildren even though the number of children
> has not changed.
> 
> Free the old entry and increment nchildren only when adding a new child.
> 
> [...]

Applied to wpan/wpan.git, thanks!

[1/2] mac802154: free a replaced child
      https://git.kernel.org/wpan/wpan/c/4022afee3116
[2/2] mac802154: look up children by extended address
      https://git.kernel.org/wpan/wpan/c/b6148aaa5eb5

regards,
Stefan Schmidt
Technical Details
Message-ID: <179568639028.1969825.16464730477655114016.b4-ty@datenfreihafen.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372014-linux-kernel-netdev=dewy.ru
References: <20261124085905.710751-1-leegun25@proton.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372014-linux-kernel-netdev=dewy.ru
From: stefan@datenfreihafen.org (Stefan Schmidt)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 1/2] mac802154: free a replaced child
Date: Thu, 26 Nov 2026 10:46:34 +0100
Organization: Usenet Network
Message-ID: <179568639028.1969825.16464730477655114016.b4-ty@datenfreihafen.org>
References: <20261124085905.710751-1-leegun25@proton.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="431474"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:MfBUOyl6dTZBLctWw3Ys4AWUdY0= sha256:/f2GNdR8+9aiIjcsgrQqcKX2NdY3FsMJzERvC3JiYNc=
	sha1:JE/BvZt79GLOBbNFpvZ6fB8uN6k= sha256:gqag1q+aZ5ZmfDz+9ScOHOe5wDE+dKbDh4gzsfrQ+6A=
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 7AF56125EC0; Thu, 26 Nov 2026 12:46:52 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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-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 CnpQz0erBAVL;
	Thu, 26 Nov 2026 12:46:49 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372014-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=datenfreihafen.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 856FE125EBF; Thu, 26 Nov 2026 12:46:44 +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 7EE0237E89; Thu, 26 Nov 2026 09:46:43 +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=1795686403;
	b=lalK2KTXhYYVFtjKhVj2kqRuek5HM1fUSp4EoifezZ2bFh8nTqE0LXoZM8evHD4D9+rY
	 2uPGuh7z9unbdaUSn1cVCLFAN4n2xaxTje1bJZkf0tlIHJ0lNT5+Odhl+KSEe9VxG7WmU
	 eJ2LpfBJxGaPsfLWEmPx3qjTy7LgVXe5mvWtoJjvJr62yMo9wI9qPhmNRnw9gca63EprJ
	 Y61s7aaTzlx0h3Fa8cvy3Lq4SkOzgA38cZH6MdoClovBvSLdLz3/xpQymW4UNnNNHwmEl
	 1cB4qlNh37iKg6wwkawKZrdJd2F/8+sPRnUPe23i5cFvXATRqBzSMKIKTRONxijut/A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795686403;
	h=X-Original-To:Received:DMARC-Filter:Received:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=ihRZPKwwcBwnL82bvvJhpAYLTjYeEr2UUurenFP8Sg8=;
	b=NJir5/OBPkLE134DN2c64NWPSZZDLli6X/Zz1ZZQH7p5PfAqW1uHQ/TS2aT0Sj+90rr7
	 32KA3NImDeeYvg7nAsZPZkbJ2f4dA+M1xA4F24cp1aXAqWUXABvxORY8YJaJSZobq4bRh
	 vPDpMNHD5Rqca4cr+Zn9bI4adcWmYwJqee4tEOjylf6nQl3hgcpZl/Sc70+2mYIDpjR24
	 YRJzXGcJjsFtBEcKUh6o+C+tFhx3k+beUNHKe24EneE1RDpI/imuhiiuVnKLLibjv3g+8
	 6bNtuAuUwIowCGf2al4hVJwl40NdM00g3TpzAucXCHhDIh1irrwF4KjYurtuMeJEHWA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=datenfreihafen.org;
	spf=pass smtp.mailfrom=datenfreihafen.org;
	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 4BB52606A32A;
	Thu, 26 Nov 2026 09:46:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=78.47.171.185
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795686402;
	b=BVPPYQ/GlN3PtlIN9RA4gBihNwr6SMH44EwisDzoVY0yQ1XLfA4B76bFjQ/Ivb9EnbZu
	 2ueCWNqSSStT8iui1kOToBz4LDjQkLMIvItvRzEkbm4xHobhSFkvidU1VyPNnvUWokB9k
	 fKbJa9BR0DPYztgaWjg8+P+7HFaVimCLKCeNaRM+DvevxLaqnTowa6hGDDhiWdpFyH74E
	 CY3Ou3RAa9AHmKt8YOtVYRWeHXUu26muMiE1jQR48jbll10cIVfFGcmQ2yY5v1ybYtnPi
	 Pt1bFGG9TTHPkTkoXniRtrT9o0+ALSlWPdoG0dpy0pbuZFzCHgZkqOPqKq3uu2XKUoA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795686402;
	h=DMARC-Filter:Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=ihRZPKwwcBwnL82bvvJhpAYLTjYeEr2UUurenFP8Sg8=;
	b=TG16aA8KZDbHXyaD2lAuKn9TW4rEWOpv0/t83qDZ0dRfaTer29G6PHvY5rAwUcfbjSch
	 Hy+3K1hyQTiyCDigIBlDNewgmDf5cqrfnOUmizXAC7zcNR9LrNUpIsmrd0zOerBApppos
	 dazNaMj+Quy76tRLTZigck2Lp+gYBjx7pcUXA08OGRgPr8R+hyJAr7ihL6reMgcC7tygV
	 dBz30NgZXv5ESeaVlpRcAJlbqSU1OQtngrPUhyYXx+oLQFErfp4Ajq05m/nuNUVQGP3zo
	 clYSxHbmYqkfLFwjq3vLVfPNS/uctXcxmC4XkLhiqxqP67iTZG/2EcWN+z52GbhMs6g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=datenfreihafen.org;
	spf=pass smtp.mailfrom=datenfreihafen.org;
	arc=none smtp.remote-ip=78.47.171.185
X-Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185])
	(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 3E838606A323;
	Thu, 26 Nov 2026 09:46:42 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3E838606A323
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=datenfreihafen.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=datenfreihafen.org
X-Received: from work.datenfreihafen.local (unknown [46.253.254.165])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	(Authenticated sender: stefan@sostec.de)
	by proxima.lasnet.de (Postfix) with ESMTPSA id E6AA6C02DA;
	Thu, 26 Nov 2026 10:46:39 +0100 (CET)
X-Cc: Stefan Schmidt <stefan@datenfreihafen.org>,
	linux-wpan@vger.kernel.org,
	netdev@vger.kernel.org
X-Mailer: git-send-email 2.56.1
X-In-Reply-To: <20261124085905.710751-1-leegun25@proton.me>
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