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] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3804927-5a66-4469-9b12-b11790db30c1@linux.vnet.ibm.com>
Date: Thu, 11 Apr 2024 00:09:15 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.vnet.ibm.com>
To: Heiner Kallweit <hkallweit1@...il.com>,
        Realtek linux nic maintainers <nic_swsd@...ltek.com>,
        Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
        Jakub Kicinski <kuba@...nel.org>, David Miller <davem@...emloft.net>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net] r8169: add missing conditional compiling for call to
 r8169_remove_leds

Applied the patch and verified the reported issue.

Kernel compilation is successful on PowerPC with this patch.


Tested-By: Venkat Rao Bagalkote <venkat88@...ux.vnet.ibm.com>

On 10/04/24 6:41 pm, Heiner Kallweit wrote:
> Add missing dependency on CONFIG_R8169_LEDS. As-is a link error occurs
> if config option CONFIG_R8169_LEDS isn't enabled.
>
> Fixes: 19fa4f2a85d7 ("r8169: fix LED-related deadlock on module removal")
> Reported-by: Venkat Rao Bagalkote <venkat88@...ux.vnet.ibm.com>
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
> ---
>   drivers/net/ethernet/realtek/r8169_main.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
> index 06631a0d6..746ef4f34 100644
> --- a/drivers/net/ethernet/realtek/r8169_main.c
> +++ b/drivers/net/ethernet/realtek/r8169_main.c
> @@ -5046,7 +5046,8 @@ static void rtl_remove_one(struct pci_dev *pdev)
>
>   	cancel_work_sync(&tp->wk.work);
>
> -	r8169_remove_leds(tp->leds);
> +	if (IS_ENABLED(CONFIG_R8169_LEDS))
> +		r8169_remove_leds(tp->leds);
>
>   	unregister_netdev(tp->dev);
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ