Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Felix Fietkau
On 2014-06-29 23:25, Kristian Evensen wrote: > On Sun, Jun 29, 2014 at 11:19 PM, Felix Fietkau wrote: >> Thanks for the info about the commit that broke it, now this issue >> makes more sense to me. Please try this patch: > > With this patch everything works fine, I do not see the crash any > mor

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Kristian Evensen
On Sun, Jun 29, 2014 at 11:19 PM, Felix Fietkau wrote: > Thanks for the info about the commit that broke it, now this issue > makes more sense to me. Please try this patch: With this patch everything works fine, I do not see the crash any more. Thanks for the help! -Kristian

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Felix Fietkau
On 2014-06-29 23:10, Kristian Evensen wrote: > Hi Felix, > > On Sun, Jun 29, 2014 at 8:36 PM, Felix Fietkau wrote: >> Please test the latest version and check if that hack is still necessary. > > Thanks for your reply. I tested with latest netifd and latest libubus, > to make sure that I got the

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Kristian Evensen
Hi Felix, On Sun, Jun 29, 2014 at 8:36 PM, Felix Fietkau wrote: > Please test the latest version and check if that hack is still necessary. Thanks for your reply. I tested with latest netifd and latest libubus, to make sure that I got the reload-fixes. The issue is unfortunately still present. I

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Felix Fietkau
On 2014-06-18 18:12, Kristian Evensen wrote: > From: Kristian Evensen > > Hello, > > I have written a small tool which automatically adds/removes a usb LAN dongle > from uci. When the USB device is inserted, I add entries to UCI (using libuci) > and do network reload (using libubus). When the de

[OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-18 Thread Kristian Evensen
From: Kristian Evensen Hello, I have written a small tool which automatically adds/removes a usb LAN dongle from uci. When the USB device is inserted, I add entries to UCI (using libuci) and do network reload (using libubus). When the device is removed, I remove the UCI-entries and do reload aga