Hi Arron,
On 01/05/2012 11:46 AM, Daniel Wagner wrote:
Hi,
On Mon, Dec 19, 2011 at 03:00:17AM -0500, Yu A Wang wrote:
Service may be refcount two times when add_gateway for both ipv4 and
ipv6, we need to unref the service twice according when we have both
ipv6 and ipv4 gateway
I did not apply this one. The whole logic in
__connman_connection_gateway_remove() looks really funky. Since Jukka
has written that part I would like to have he's input :)
cheers,
daniel
I tried to your patch and did some testing (with network that has both
IPv4 and IPv6 active) but was unable to see any difference with or
without your patch.
I also put some debug prints where you unref the service and that part
was never called (explains why I did not see any difference in valgrind
output). If we miss the service unref, then I would expect that we see
something wrong in valgrind output also but I have not yet seen any
memory leaks because of the missing unref.
So atm I have to say NACK to this patch unless you can provide
instructions how to trigger the problem.
Cheers,
Jukka
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman