Hi,

A potential crash has been fixed on DHCPv4 expiry.

In addition to that, network disconnection and service connection have
been updated. Network such that a missing driver disconnect function is
considered indicating an immediate disconnect and service connection
such that all other services utilizing the same interface are
disconnected. If any of those other services signal -EINPROGRESS,
consider this a temporary failure and return an error to the caller.

Finally, get rid of forcefully setting the service to idle. This
functionality is to be provided by service disconnection. On clearing
the 'Error' property it is not considered good behavior to force the
service states to idle either...

Cheers,

        Patrik


Patrik Flykt (5):
  dhcp: Release dhcp structure before freeing it
  network: A network is disconnected except on -EINPROGRESS
  service: Clear up connect logic when called from D-Bus
  service: Clear up error path when connecting a service
  service: Don't force a service to idle state

 src/dhcp.c    |  4 +---
 src/network.c | 11 +++++------
 src/service.c | 39 +++++++++++++++------------------------
 3 files changed, 21 insertions(+), 33 deletions(-)

-- 
1.8.5.3

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to