Re: [PATCH net] net: sysfs: Fix deadlock situation in sysfs accesses
From: Andrew Lunn
Date: Tue Dec 17 2024 - 10:31:51 EST
On Tue, Dec 17, 2024 at 08:18:25AM +0100, Christophe Leroy wrote:
> The following problem is encountered on kernel built with
> CONFIG_PREEMPT. An snmp daemon running with normal priority is
> regularly calling ioctl(SIOCGMIIPHY).
Why is an SNMP daemon using that IOCTL? What MAC driver is this? Is it
using phylib? For phylib, that IOCTL is supposed to be for debug only,
and is a bit of a foot gun. So i would not recommend it.
Andrew