summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-03-31 12:18:27 +0200
committerJo-Philipp Wich <jow@openwrt.org>2016-03-31 12:29:08 +0200
commit6fd6be6b7f3fc4883fdc464fcbcb2b5e8d8e8174 (patch)
treed89cb285244973f53a6329ae915ae077b1e331a8 /device.c
parent39d9ceeb96162a83a3f5fa63e6aaa1ccb38caa62 (diff)
alias : Fix interface aliased on top of a static interface not getting active
An interfaces referring to a static interface is not getting active when doing a network reload or ifup. The problem is triggered by alias_set_device which is not clearing the pending update (mostly a null device due to the previous down event) when the same device is set as the current device via alias_notify_device. As a result alias_set_device_state when called will overwrite the device with an invalid pending device meaning the interface will not be set available anymore and thus will stay down. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'device.c')
0 files changed, 0 insertions, 0 deletions