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
From: Mohamed Abbas
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 +++
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) {
> +
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 new