Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-08 Thread Guillaume Nault
On Thu, Dec 08, 2016 at 10:29:44AM +0800, Brad Campbell wrote: > On 08/12/16 01:43, Thomas Haller wrote: > > On Tue, 2016-12-06 at 17:12 -0600, Dan Williams wrote: > > > > > > > libnl1 rejects the IFLA_INFO_DATA attribute because it expects it > > > > to > > > > contain a sub-attribute. Since the

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-07 Thread Brad Campbell
On 08/12/16 01:43, Thomas Haller wrote: On Tue, 2016-12-06 at 17:12 -0600, Dan Williams wrote: libnl1 rejects the IFLA_INFO_DATA attribute because it expects it to contain a sub-attribute. Since the payload size is zero it doesn't match the policy and parsing fails. There's no problem with li

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-07 Thread Thomas Haller
On Tue, 2016-12-06 at 17:12 -0600, Dan Williams wrote: > > > libnl1 rejects the IFLA_INFO_DATA attribute because it expects it > > to > > contain a sub-attribute. Since the payload size is zero it doesn't > > match the policy and parsing fails. > > > > There's no problem with libnl3 because its p

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-06 Thread Dan Williams
On Wed, 2016-12-07 at 00:08 +0100, Guillaume Nault wrote: > (Cc Thomas and David) CC Thomas Haller who is the current libnl maintainer... Dan > On Tue, Dec 06, 2016 at 03:47:20PM +0800, Brad Campbell wrote: > > > > On 06/12/16 01:53, Guillaume Nault wrote: > > > > > > > > > > > > > > Probabl

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-06 Thread Guillaume Nault
(Cc Thomas and David) On Tue, Dec 06, 2016 at 03:47:20PM +0800, Brad Campbell wrote: > On 06/12/16 01:53, Guillaume Nault wrote: > > > > > Probably not a mistake on your side. I've started looking at netcf' > > source code, but haven't found anything that could explain your issue. > > It'd really

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-05 Thread Brad Campbell
On 06/12/16 01:53, Guillaume Nault wrote: Probably not a mistake on your side. I've started looking at netcf' source code, but haven't found anything that could explain your issue. It'd really help if you could provide steps to reproduce the bug. Further to my message this morning, I started

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-05 Thread Brad Campbell
On 06/12/16 01:53, Guillaume Nault wrote: Can you send a minimal configuration file that triggers the bug? I've set up a virtual machine (Linux 4.7.0, netcf 0.2.8 backported from Debian Sid), but couldn't reproduce the issue so far. Ok I reproduced this in a VM. I used the stock Debian 7 inst

Re: commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-05 Thread Guillaume Nault
On Mon, Dec 05, 2016 at 05:06:31PM +0800, Brad Campbell wrote: > Machine is an old Debian (7.11) box with a recent compile of netcf. Any > kernel later than 4.6.7 prevents ncftool from running if the ppp interface > is up. > > I'm using netcf-0.2.8, and this commit breaks it : > > 96d934c70db6e1b

commit : ppp: add rtnetlink device creation support - breaks netcf on my machine.

2016-12-05 Thread Brad Campbell
G'day All, I've been chasing an issue on and off for a couple of months now, and I've managed to finally find a way to reproduce and bisect it. Machine is an old Debian (7.11) box with a recent compile of netcf. Any kernel later than 4.6.7 prevents ncftool from running if the ppp interface i