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: <166811821550.11680.621006502765862958.git-patchwork-notify@kernel.org>
Date:   Thu, 10 Nov 2022 22:10:15 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Ido Schimmel <idosch@...dia.com>
Cc:     netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
        pabeni@...hat.com, edumazet@...gle.com, jiri@...dia.com,
        mlxsw@...dia.com
Subject: Re: [PATCH net-next] devlink: Fix warning when unregistering a port

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:

On Thu, 10 Nov 2022 10:51:50 +0200 you wrote:
> When a devlink port is unregistered, its type is expected to be unset or
> otherwise a WARNING is generated [1]. This was supposed to be handled by
> cited commit by clearing the type upon 'NETDEV_PRE_UNINIT'.
> 
> The assumption was that no other events can be generated for the netdev
> after this event, but this proved to be wrong. After the event is
> generated, netdev_wait_allrefs_any() will rebroadcast a
> 'NETDEV_UNREGISTER' until the netdev's reference count drops to 1. This
> causes devlink to set the port type back to Ethernet.
> 
> [...]

Here is the summary with links:
  - [net-next] devlink: Fix warning when unregistering a port
    https://git.kernel.org/netdev/net-next/c/1fb22ed67195

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ