lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <faa2eeba-4af4-4ba0-845e-e2d440231614@molgen.mpg.de>
Date: Tue, 4 Nov 2025 11:44:47 +0100
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Pauli Virtanen <pav@....fi>
Cc: linux-bluetooth@...r.kernel.org, marcel@...tmann.org,
 johan.hedberg@...il.com, luiz.dentz@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] Bluetooth: L2CAP: export l2cap_chan_hold for
 modules

Dear Pauli,


Thank you for the patch.

Am 03.11.25 um 19:29 schrieb Pauli Virtanen:
> l2cap_chan_put() is exported, so export also l2cap_chan_hold() for
> modules.
> 
> l2cap_chan_hold() has use case in net/bluetooth/6lowpan.c
> 
> Signed-off-by: Pauli Virtanen <pav@....fi>
> ---
> 
> Notes:
>      v2:
>      - New patch for v2
>      - Used for build fix with CONFIG_BT_6LOWPAN=m
> 
>   net/bluetooth/l2cap_core.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
> index d08320380ad6..35c57657bcf4 100644
> --- a/net/bluetooth/l2cap_core.c
> +++ b/net/bluetooth/l2cap_core.c
> @@ -497,6 +497,7 @@ void l2cap_chan_hold(struct l2cap_chan *c)
>   
>   	kref_get(&c->kref);
>   }
> +EXPORT_SYMBOL_GPL(l2cap_chan_hold);
>   
>   struct l2cap_chan *l2cap_chan_hold_unless_zero(struct l2cap_chan *c)
>   {

Reviewed-by: Paul Menzel <pmenzel@...gen.mpg.de>


Kind regards,

Paul

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ