mbox series

[0/2] leds: trigger: netdev: refactor event handling

Message ID 20250610114029.268938-1-tobias.junghans@inhub.de
Headers show
Series leds: trigger: netdev: refactor event handling | expand

Message

Tobias Junghans June 10, 2025, 11:40 a.m. UTC
This series fixes issues in the netdev event handling code which lead to
erroneous netdev associations if e.g. net devices in different net
namespaces have the same name before or after being renamed.

The series based on different previous approaches:
- https://lore.kernel.org/linux-leds/20250401085002.492904-1-tobias.junghans@inhub.de/
- https://lore.kernel.org/linux-leds/20250425132059.393144-1-tobias.junghans@inhub.de/

Signed-off-by: Tobias Junghans <tobias.junghans@inhub.de>

---
Tobias Junghans (2):
  leds: trigger: netdev: separate event checks
  leds: trigger: netdev: refactor netdev_event_requires_handling()

 drivers/leds/trigger/ledtrig-netdev.c | 38 +++++++++++++++++++++------
 1 file changed, 30 insertions(+), 8 deletions(-)