Re: [PATCH net] vlan: prevent cross-netns MII register writes

From: Jakub Kicinski

Date: Thu Nov 12 2026 - 18:18:58 EST


On Thu, 12 Nov 2026 09:42:32 -0800 Florian Fainelli wrote:
> >> Andrew, Florian, any idea if we could delete this completely?
> >> Why would anyone want to run MII/PHY commands on a VLAN?
> >
> > It does seem questionable.
>
> Agreed, it does not quite make sense to me to forward these ioctl()
> calls. Looks like this predates the import of Linux-2.6.12-rc2 into git,
> need to do some more history digging to find out why this was done.

Maybe we can just delete it in -next and see if anyone complains?
The "fix" as posted would have to go to -next too, given regression
potential, so if we can't think of a use case let's try the bigger
hammer?