Thread (6 messages) 6 messages, 3 authors, 2025-06-19

Re: [PATCH 2/2] leds: trigger: netdev: refactor netdev_event_requires_handling()

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-06-12 12:26:14
Also in: linux-leds

Tomorrow i will look at the socket system calls and see how you get a
processes network namespace.
current->nsproxy->net_ns gives the current processes network
namespace.

current is one of those historical odd things, like
jiffies. Originally it was a global variable, when the kernel
supported a single CPU, and hence only a single processes was ever
running. But with the change to SMP it became a #define for a function
call.

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