Hi Arron,

On Wed, Dec 14, 2011 at 10:13:20PM -0500, Yu A Wang wrote:
> Service may be refcount two times when add_gateway for both ipv4 and
> ipv6, but we only unref sercie once in connman_connection_gateway_remove
> we can fix this by refcount the service only when service is not in
> gateway_hash
I still think we should take 2 references on the service for a gateway that
has both a v4 and a v6 entry. I agree the current code doesn't do that
properly.
connman_connection_gateway_remove() should do something symetrical.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to