Weird DHCP related problems with net-next

2015-06-09 Thread Florian Fainelli
Hi, I am observing a strange problem on net-next (not observed with net, bisection in progress) where the initial DHCP configuration using busybox's udhcpc is able to configure the local interface address and DNS serer, but not the default gateway. Restarting udhcpc a second time does not exhibit

Re: Weird DHCP related problems with net-next

2015-06-10 Thread Scott Feldman
On Tue, Jun 9, 2015 at 5:12 PM, Florian Fainelli wrote: > I see the problem now, DSA does not implement a port_obj_add callback, > so when net/ipv4/fib_trie.c::switchdev_fib_ipv4_add() gets to call > switchdev_port_obj_add, we return -EOPNOTSUPP, and take the error path > in fib_table_insert thu

Re: Weird DHCP related problems with net-next

2015-06-10 Thread Florian Fainelli
On 10/06/15 14:44, Scott Feldman wrote: > On Tue, Jun 9, 2015 at 5:12 PM, Florian Fainelli wrote: > > >> I see the problem now, DSA does not implement a port_obj_add callback, >> so when net/ipv4/fib_trie.c::switchdev_fib_ipv4_add() gets to call >> switchdev_port_obj_add, we return -EOPNOTSUPP,

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Andrew Lunn
On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: > Hi, > > I am observing a strange problem on net-next (not observed with net, > bisection in progress) where the initial DHCP configuration using > busybox's udhcpc is able to configure the local interface address and > DNS serer,

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Florian Fainelli
Hi Andrew, On 09/06/15 12:22, Andrew Lunn wrote: > On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: >> Hi, >> >> I am observing a strange problem on net-next (not observed with net, >> bisection in progress) where the initial DHCP configuration using >> busybox's udhcpc is able to

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Andrew Lunn
On Tue, Jun 09, 2015 at 01:31:31PM -0700, Florian Fainelli wrote: > Hi Andrew, > > On 09/06/15 12:22, Andrew Lunn wrote: > > On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: > >> Hi, > >> > >> I am observing a strange problem on net-next (not observed with net, > >> bisection in p

Re: Weird DHCP related problems with net-next

2015-06-09 Thread Florian Fainelli
On 09/06/15 13:31, Florian Fainelli wrote: > Hi Andrew, > > On 09/06/15 12:22, Andrew Lunn wrote: >> On Tue, Jun 09, 2015 at 11:54:50AM -0700, Florian Fainelli wrote: >>> Hi, >>> >>> I am observing a strange problem on net-next (not observed with net, >>> bisection in progress) where the initial D