Re: [OpenWrt-Devel] [PATCH/netifd] interface: fix "if-down" hotplug event handling

2019-04-12 Thread Martin Schiller
On 2019-04-11 15:16, Hans Dedecker wrote: Hi, On Thu, Apr 11, 2019 at 3:02 PM Martin Schiller wrote: commit a97297d83e42 ("interface: set interface in TEARDOWN state when checking link state") broke the if-down hotplug event handling, as the iface->state is now IFS_TEARDOWN when calling th

Re: [OpenWrt-Devel] [PATCH/netifd] interface: fix "if-down" hotplug event handling

2019-04-11 Thread Hans Dedecker
Hi, On Thu, Apr 11, 2019 at 3:02 PM Martin Schiller wrote: > > commit a97297d83e42 ("interface: set interface in TEARDOWN state when > checking link state") > broke the if-down hotplug event handling, as the iface->state is now > IFS_TEARDOWN when > calling the mark_interface_down() function fr

[OpenWrt-Devel] [PATCH/netifd] interface: fix "if-down" hotplug event handling

2019-04-11 Thread Martin Schiller
commit a97297d83e42 ("interface: set interface in TEARDOWN state when checking link state") broke the if-down hotplug event handling, as the iface->state is now IFS_TEARDOWN when calling the mark_interface_down() function from the IFPEV_DOWN event. Fixes: a97297d83e42 ("interface: set interface