openwrt/target/linux
Ahmed Naseef ecd609f509 kernel: usbnet: Restore usb%d naming for cdc-ethernet devices with local MAC
Prior to commit 8a7d12d674,
cdc-ethernet USB LTE modems (e.g. Quectel EC200A) were consistently named
usb0. After 8a7d12d67, devices began renaming to eth1 due to an assumption
that local MAC addresses originate exclusively from the kernel. Some
devices provide driver-assigned local MACs, causing point-to-point
interfaces with driver-set MACs to adopt eth%d names instead of usb%d.

Restore the naming exception for point-to-point devices: interfaces
without driver MACs or with driver-provided local MACs will retain the
usb%d convention. This addresses issues reported in [1] and fixed in [2].

[1] https://lore.kernel.org/all/Z00udyMgW6XnAw6h@atmark-techno.com/
[2] https://lore.kernel.org/all/20241203130457.904325-1-asmadeus@codewreck.org/

Tested-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17757
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-03-06 15:49:45 +01:00
..
airoha airoha: drop MTD Airoha parser patch 2025-03-05 00:04:36 +01:00
apm821xx apm821xx: NETGEAR WNDR4700: Fix compat version 2025-01-27 23:36:32 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
armsr armsr: add Hyper-V on Arm64 support 2025-01-24 22:19:34 +01:00
at91 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
ath79 kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
bcm27xx kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
bcm47xx kernel: bump 6.6 to 6.6.78 2025-02-20 19:27:57 +01:00
bcm53xx linux: use packages kmod-hci-uart and kmod-btusb instead of kmod-bluetooth 2025-02-24 00:08:42 +01:00
bcm4908 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
bmips bmips: shg2500: add missing led controller cells 2025-01-28 08:30:10 +01:00
d1 d1: Use correct module for devices with wifi 2025-01-13 23:38:19 +01:00
gemini gemini: Convert to use module for Realtek switch 2025-02-14 00:34:16 +01:00
generic kernel: usbnet: Restore usb%d naming for cdc-ethernet devices with local MAC 2025-03-06 15:49:45 +01:00
imx imx: cortexa53: fix sysupgrade image device support for venice 2025-02-16 16:46:51 +01:00
ipq40xx kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
ipq806x ipq806x: make use of ASCII env NVMEM driver for Linksys EAX devices 2025-02-03 01:54:26 +01:00
ixp4xx ixp4xx: Break out mv88e6060 DSA switch to package 2025-01-02 02:30:24 +01:00
kirkwood kirkwood: Make the Marvell DSA switch a module 2024-12-16 22:03:05 +01:00
lantiq lantiq: xrx200: fb7430 set correct label-mac 2025-01-21 00:15:41 +01:00
layerscape kernel: bump 6.6 to 6.6.64 2024-12-13 21:40:02 +01:00
loongarch64 loongarch64: remove redundant CONFIG_LIST_HARDENED 2024-12-30 13:53:40 +01:00
malta kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mediatek mediatek: filogic: migrate ASUS TUF AX6000 to upstream PHY LED control 2025-03-01 03:05:18 +00:00
mpc85xx kernel: bump 6.6 to 6.6.64 2024-12-13 21:40:02 +01:00
mvebu mvebu: fix kmod for switch on wrt32x / venom 2025-02-01 00:01:14 +01:00
mxs mxs: adapt default package list for Duckbill devices 2025-02-05 22:00:09 +01:00
octeon octeon/generic: ubnt,erlite: define profile 2025-02-16 16:06:10 +01:00
omap kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
pistachio kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
qoriq qoriq: Switch to use a module for mv88e6xxx 2025-01-26 22:07:44 +01:00
qualcommax qualcommax: ipq50xx: Add support for Linksys MR5500 2025-03-02 11:42:48 +01:00
qualcommbe kernel: bump 6.6 to 6.6.78 2025-02-20 19:27:57 +01:00
ramips kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
realtek realtek: Drop redundant LED labels 2025-02-28 16:30:29 +01:00
rockchip kernel: bump 6.6 to 6.6.76 2025-02-13 00:03:54 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
siflower siflower: move soruce-only flag to sf19a2890 subtarget 2025-02-05 11:12:42 +08:00
starfive kernel: bump 6.6 to 6.6.79 2025-02-23 12:17:38 +01:00
stm32 stm32: enable CONFIG_SMSC_PHY 2025-01-27 14:32:43 +01:00
sunxi sunxi: enable usbgadget feature 2025-02-22 18:43:23 +01:00
tegra kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: Add kmod-drm-i915 as default package 2025-01-30 13:08:17 +01:00
zynq kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00