[PATCH] Documentation: bring operstate documentation up-to-date

2019-02-07 Thread Jouke Witteveen
Netlink has moved from bitmasks to group numbers long ago. Signed-off-by: Jouke Witteveen --- This has been salvaged from my earlier proposal to send uevents on link state changes. Can I get you to reconsider that proposal? A more pervasive version of the same idea was accepted in 2008 [1] but

Re: [PATCH 1/2] net: linkwatch: send change uevent on link changes

2018-12-06 Thread Jouke Witteveen
On Thu, Dec 6, 2018 at 9:10 PM David Miller wrote: > > From: Jouke Witteveen > Date: Thu, 6 Dec 2018 09:59:20 +0100 > > > On Thu, Dec 6, 2018 at 1:34 AM David Miller wrote: > >> > >> From: Jouke Witteveen > >> Date: Wed, 5 Dec 2018 23:38:17 +0100 &

Re: [PATCH 1/2] net: linkwatch: send change uevent on link changes

2018-12-06 Thread Jouke Witteveen
On Thu, Dec 6, 2018 at 1:34 AM David Miller wrote: > > From: Jouke Witteveen > Date: Wed, 5 Dec 2018 23:38:17 +0100 > > > Can you elaborate a bit? I may not be aware of the policy you have in > > mind. > > When we have a user facing interface to do something, we don

Re: [PATCH 1/2] net: linkwatch: send change uevent on link changes

2018-12-05 Thread Jouke Witteveen
On Wed, Dec 5, 2018 at 8:45 PM David Miller wrote: > > From: Jouke Witteveen > Date: Wed, 5 Dec 2018 14:50:31 +0100 > > > For example, I maintain a network manager that delegates the actual > > networking work to specialized programs. > > Basically "I&#

Re: [PATCH 1/2] net: linkwatch: send change uevent on link changes

2018-12-05 Thread Jouke Witteveen
On Wed, Dec 5, 2018 at 5:50 AM David Miller wrote: > > From: Jouke Witteveen > Date: Sat, 1 Dec 2018 17:00:21 +0100 > > > Make it easy for userspace to respond to acquisition/loss of carrier. > > The uevent is picked up by udev and, on systems with systemd, the > >

[PATCH 2/2] Documentation: bring operstate documentation up-to-date

2018-12-01 Thread Jouke Witteveen
Signed-off-by: Jouke Witteveen --- Documentation/networking/operstates.txt | 13 - net/sched/sch_generic.c | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/networking/operstates.txt b/Documentation/networking/operstates.txt index

[PATCH 1/2] net: linkwatch: send change uevent on link changes

2018-12-01 Thread Jouke Witteveen
Make it easy for userspace to respond to acquisition/loss of carrier. The uevent is picked up by udev and, on systems with systemd, the device unit of the interface announces a configuration reload. Signed-off-by: Jouke Witteveen --- I did not want to change the commit message into a systemd