Thread (3 messages) 3 messages, 3 authors, 2025-03-28

Re: [PATCH v2] net: usb: usbnet: restore usb%d name exception for local mac addresses

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-03-28 13:50:01
Also in: linux-usb, lkml, stable

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 26 Mar 2025 17:32:36 +0900 you wrote:
commit 8a7d12d674ac ("net: usb: usbnet: fix name regression") assumed
that local addresses always came from the kernel, but some devices hand
out local mac addresses so we ended up with point-to-point devices with
a mac set by the driver, renaming to eth%d when they used to be named
usb%d.

Userspace should not rely on device name, but for the sake of stability
restore the local mac address check portion of the naming exception:
point to point devices which either have no mac set by the driver or
have a local mac handed out by the driver will keep the usb%d name.

[...]
Here is the summary with links:
  - [v2] net: usb: usbnet: restore usb%d name exception for local mac addresses
    https://git.kernel.org/netdev/net/c/2ea396448f26

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help