[OpenWrt-Devel] 答复: [RFC] netifd: Crash when netifd reload is handled during netifd startup

2014-06-24 Thread
Hi, That commit was intended to fix a bug report by me. I also attached a patch with my issue: diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup index af3aaa8..15c0c8e 100755 --- a/package/netifd/files/sbin/ifup +++ b/package/netifd/files/sbin/ifup @@ -35,7 +35,7 @@ wh

[OpenWrt-Devel] [netifd] ifup script does not use new network config

2014-06-09 Thread
Greeting, I found /sbin/ifup does not take new network config, through it does reload before bringing interface up. ifup orders netifd reload config via ubus call. But netifd uses an async event loop to do reloading work: void netifd_reload(void) { main_timer.cb = netifd_do_reload;