Hi Samuel,

Connman create ipconfig value for ipv4 and ipv6 in function
__connman_service_create_from_network through function setup_ip4config and
setup_ip6config. These two functions check index value first, for Bluetooth
interface the index value is -1 so the value of ipconfig are not created and
is NULL. In function connman_network_set_index it only check ipconfig value
whether NULL only for ipv4. So the value of ipconfig for ipv6 is still NULL.
Then set ipv6 address for Bluetooth interface connman will crash.

Thanks
Yu

-----Original Message-----
From: Samuel Ortiz [mailto:[email protected]] 
Sent: Wednesday, May 11, 2011 6:01 PM
To: Wang, Yu A
Cc: [email protected]
Subject: Re: [PATCH] network: Add ipv6 situation, fix connman crash when set 
ipv6 address for bluetooth interface

Hi Arron,

On Fri, Apr 29, 2011 at 05:19:40AM -0400, [email protected] wrote:
> From: arron <[email protected]>
Could you please describe how this patch is related to Bluetooth and IPv6, and
why it fixes that bug ?

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