Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp626076lqm; Wed, 1 May 2024 10:34:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVv+/yHqv9XRG1Fm7c/rreLNFD8he4FsgUKrAz+DJq7hwvqx4AzEiyB5wXI2UWrXga3FIagj9F53LjnOnVQ4Uf7LzJmHjtjW4ndCTf8TA== X-Google-Smtp-Source: AGHT+IE/GV2ds4jx4nNVb8S1H7Nsfs0l3XxH9Pif5znB939oMblm5MspuPm679rTydHjtlA7fbbM X-Received: by 2002:a05:6a00:10c5:b0:6ed:4a97:26c1 with SMTP id d5-20020a056a0010c500b006ed4a9726c1mr403570pfu.10.1714584876128; Wed, 01 May 2024 10:34:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714584876; cv=pass; d=google.com; s=arc-20160816; b=bJs6WQf2TDzu4JbnIpZqFuu7Mj5Fdbo6rUXHrN87LoYDhN1027k9VLkxVJJmr0NFld sbIQ48M79QODBzgwHgSNDLfJ5M5/a5NyAxMRJNDH1bPQ7U3Rq9F4SHarfk+M3LJFea57 wcU9IpsWwZkVK6APi041xAhR2W5hOrYVeOGc07HNHTjyqIQLp5fjhP6uPHk0RdLTHZBc O/9BI0fn3dyuH15U7nPw6W28XXY3quZWyQIpB0xRZznEVwp1OlKcgmTtQVk7yEKzcXiQ f0chLAbtkDDed6YopYWlSLhz1xl3UaUO7MaAhz5L0Lvp56LFaLf4IC4aQaNbyNf7tIt9 pvSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:subject:references:cc:to:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=gO4YnLVa8TvAJ1FCzBqXMrZgFrD5LQKEdYPyOsmQK/o=; fh=kN7M8eNCZEkmRYYNf7PAVGHJIMPgVtzm1viLvqUzKsw=; b=VFfWjUamVx9Gz1Ufgbm1auiUysbyscSWEyjBepTWPdnowF/wosGmkYs6mkdc3sQNOl aARWMp07zPkUWGYkpPJNtA+SyHN4NoM4gTYBebWVyrgGiK12lEwZ4CtowphyRTybOfPm zrbTZLsQjFowBlqj3O6BQhzwoFw/utjhuhMUQZJA19af05tomjXHqjORNs0CGhtdYNvH 9iO3ClyvMqxWtxdn0Wn/R2d2GyMISobMS3oV0gmjOGHWsWZ6z9Ljqr9gCqfdolJHwfXA 9ZimNa/HA1kHrml1aJFdvdom6iRv2h6zepanEIvG4t3ZhQn3SJYY4uhEna9W4SAY+2yw ZmMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=iJMAy+Tz; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-165654-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ca2-20020a056a02068200b0060bff6c67d1si11988661pgb.512.2024.05.01.10.34.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 10:34:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165654-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=iJMAy+Tz; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-165654-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4008B283279 for ; Wed, 1 May 2024 17:34:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB1891304A8; Wed, 1 May 2024 17:34:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="iJMAy+Tz" Received: from mout.web.de (mout.web.de [217.72.192.78]) (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 C580F17C9B; Wed, 1 May 2024 17:34:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.72.192.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714584863; cv=none; b=eZ3RaD36qRbhoDE9z8UqnQ8yCgxIEKvZHhqKHklxijIzPAlLSzVdZCA0uJg2lbJzM424z8eXEKBUTbQBmVweSK+oe5weeUX+o1QkZLSSW3xEQZuiVrtx6TqcKjYYP+UPzEZWdT2f8G5dP0lqjBIomApLaKiCBkCTn2DD+pBvvWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714584863; c=relaxed/simple; bh=yOqewtbEvLvJUxLkGDrjVjmDrRj+y1aLBrnh6oYMjJs=; h=Message-ID:Date:MIME-Version:To:Cc:References:Subject:From: In-Reply-To:Content-Type; b=cyaUkpVKvJWeUvq1uUtpXF5kuItWiuwWYvyradSULex7nFuOTpOqmOStSIUb7QnEv5GI4YQbUxPkOI7jugL7dVKB93tzxy6hiuoh3KhQmuVHSnsMXjrJms9ld6ofk5DJRwZ46A0hiYNs+czyjeCKrBDQzBDPLi6bMZvlxhiKYAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=iJMAy+Tz; arc=none smtp.client-ip=217.72.192.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1714584823; x=1715189623; i=markus.elfring@web.de; bh=gO4YnLVa8TvAJ1FCzBqXMrZgFrD5LQKEdYPyOsmQK/o=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:To:Cc:References: Subject:From:In-Reply-To:Content-Type:Content-Transfer-Encoding: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=iJMAy+TzxT006XpYKO2wp5st01dt40T4i5pLswwAwPKv6RGEI/y/A9m91YMhyLH3 jhP8L4FYkaS92Rd3Y1qIBRI41GdJPFLxny1ZQfInnK58p1P+PKq9jO0UCX+kdj5WW anziNI9yiIPwACZdRPkTjyYiDUgNCm+VLBi/kXm/qhoMn35fS8qxvu56FhO5+5ulH h0eRR8cl++sGNIVvYKrhW97GQ77gABWAqFNm6LhILUDA45Husf4JoFQpInqCoWUCR DWC376lhFfDhCZIqRFznkFk4D/twW34pBqLkXFgJat96senvKLStxeq9+MzIXPoGG CrlU5ikr+cEivmWejQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.85.95]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MIya8-1sLOaD2zUY-00L183; Wed, 01 May 2024 19:33:43 +0200 Message-ID: Date: Wed, 1 May 2024 19:33:38 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Duoming Zhou , linux-hams@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , =?UTF-8?Q?J=C3=B6rg_Reuter?= , Paolo Abeni Cc: LKML , Dan Carpenter , lars@oddbit.com References: <20240501060218.32898-1-duoming@zju.edu.cn> Subject: Re: [PATCH net] ax25: Fix refcount leak issues of ax25_dev Content-Language: en-GB From: Markus Elfring In-Reply-To: <20240501060218.32898-1-duoming@zju.edu.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Q0QhNBaMa5wsLnpEh01pGkGo+xGa7Cmhxz5H6RrtyyM1UCtb266 MENHUAJ3pjNkyy7z2g0p8IuP6RBVGWJIA/pbToaMAfyjmwna3i46gliOoy9sYp7BEqPikOf Owi/C0JaBSl1f2Xv2n9jLOkN8ujhQzNDiDa0JGw93LfvF8uP0+/X/Ojmnr5kz2IpKV8Pf+M SCbvIAUuckYK4DHfqnSCA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:tombYyYfHGc=;q0SvgptX4FfL0yXKTtYa0WBtWaL A0PVcly7GxD4W6LEDLzOQrmouOVs+GoOSoMqvFHXz9WjrnD8LVD7qGKkt7kkwaBlVU0tzD6sX 2zBfGPrzZJ8WlDS+iDQcT2D5pnyR3tPMm+4W1wIq90CC+KbOgCASnDyLfU64DcDfTvRzgxbyf KM6t3SLRS0FCbDZXMzXdmsUBEMc+NRZ8mOd7eFsNr5ndYCLwURnKfiOtCll5yU2cW9AibrDcz vakM4GBfK5+w+CW+QmDkFNvLhY5WQ8ebRsvFIcYWS2UorylJnQrydy+xJB7APvSDC3rpj6Jki dnrBvKvyrMxvPn69mAEuoNl4E6bLxbCUFmCh/jlw+pyt68JZia44FP3lmuy6XRTBjQDK1OCQx Gbhl3M2f0FSnQY8DNpttxHaTXmK5WmMRe3x3fVJZPq9fpFHL3/Z7hEOrjVENvNW6tIkQW7aaY Eko/oIOG9DceyF3zaTEU4Rmcl6U8CfEgb1NW9+a9BY5hv9j6SpAAv+4vjch4S8W/ub1JPeu/X d1H4Ym34Uzow6OjiT9CM2pgs1TTbdn6SMvFsJJwNZrPPLZi1IAlK9PmkYHo3Z2FNdQfXZtZCo dR44WvI+U2cwRJN9RDJcVQA4RtUk7iB7SqhYhtLfBrlLyiVM8N5P2eg6ggLbYaL3206UDlSjO 1+eYdzoX9qCj0P3blbfhxYTUESzW3QSraskFtVVp8jpCQdHhX/1WQXfU9X1JkufMG7GnPvWUn d8PsgEz1wuyqGxJstqlB2+/cKtkshFBxAsGVnyyZz9mgY4RQ65WA9In4dQwxJJc3gIiMekNpw UKuo+YMTq7c5E30nme3YSe/wUZpEFGXRI1Ki79eTZCaWo= =E2=80=A6 > In order to mitigate the above issues, only increase > the refcount of ax25_dev when the ax25_dev is added > to the ax25_dev_list and decrease the refcount of > ax25_dev after it is removed from the ax25_dev_list. =E2=80=A6 * I suggest to use more than 53 characters in lines of such a change descr= iption. * Can it be nicer to mention also the term =E2=80=9Creference counting=E2= =80=9D for an improved commit message? Regards, Markus