[PATCH] service: Remove connection gateway when remove service from network

2011-09-19 Thread Yu A Wang
we add service ref count at function add_gateway, then when we disable one technology, we will remove related service from network, if we not call __connman_connection_remove_gateway to unref the service count we can't call __connman_service_disconnect when we put the service. Then when netlink

Re: [PATCH l2tp/pptp v2 06/17] l2tp: Add l2tp vpn support.

2011-09-19 Thread Patrik Flykt
On Wed, 2011-09-14 at 16:19 +0300, Jukka Rissanen wrote: +static ssize_t full_write(int fd, const void *buf, size_t len) +{ + ssize_t byte_write; + + while (len) { + byte_write = write(fd, buf, len); + if (byte_write 0) { +

[PATCH l2tp/pptp v3 06/17] l2tp: Add l2tp vpn support.

2011-09-19 Thread Jukka Rissanen
From: Mohamed Abbas mab...@linux.intel.com Initial revision. --- Hi, this version fixes the memory leak in error case when xl2tpd config file cannot be written in l2tp_connect() and removes vpnc references from the code. Thanks Patrik for review. Jukka plugins/l2tp.c | 509

Re: [PATCH l2tp/pptp v2 00/17] L2TP/PPTP support

2011-09-19 Thread Patrik Flykt
On Wed, 2011-09-14 at 16:19 +0300, Jukka Rissanen wrote: here is the resend of L2TP/PPTP patches. I'm ok with the patch set. Patrik ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman