Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread fupan
On 2017/8/14 23:59, Marcel Holtmann wrote: Hi Szymon, By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread Marcel Holtmann
Hi Szymon, By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-by: Fupan Li >>

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread Szymon Janc
Hi, On 14 August 2017 at 11:45, fupan wrote: > On 2017/8/14 17:30, Marcel Holtmann wrote: >> >> Hi Fupan, >> >>> By now kernel only supported creating bluetooth socket in init_net >>> net namespace, which made bluetooth device cannot be accessed in >>> containers, this patch made bluetooth socket

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread fupan
On 2017/8/14 17:30, Marcel Holtmann wrote: Hi Fupan, By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-b

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread Marcel Holtmann
Hi Fupan, > By now kernel only supported creating bluetooth socket in init_net > net namespace, which made bluetooth device cannot be accessed in > containers, this patch made bluetooth socket can be created in > net namespaces to fix this issue. > > Signed-off-by: Fupan Li > --- > net/bluetooth

[PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread fupan.li
From: Fupan Li By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-by: Fupan Li --- net/bluetooth/af_bluet