netifd: Link layer state awareness support on device level
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 11 Feb 2014 08:30:20 +0000 (08:30 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 27 Feb 2014 11:15:24 +0000 (12:15 +0100)
commit3d26347d0042313be3c9347f8d82c4ccea67fe68
treea0afcc0ec93e1cac9b4a905d76dfac884e9e6e25
parent4d09244bc73a3b8bc8168366526e4ddded41057e
netifd: Link layer state awareness support on device level

Device layer is informed by netlink events regarding the link layer status. Link
layer status change results in a DEV_EVENT_LINK_UP/DEV_EVENT_LINK_DOWN broadcast
event for a given device.

Depends on uloop error callback patch.

Solves issue reported in https://dev.openwrt.org/ticket/14590

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Acked-by: Karl Vogel <karl.vogel@gmail.com>
device.c
device.h
system-linux.c