Thread (8 messages) flat view 8 messages, 6 authors, 2012-05-08

Re: batostr() function

From: Ulisses Furquim <hidden>
Date: 2012-05-08 14:20:37
Also in: linux-bluetooth

Hi David,

On Tue, May 8, 2012 at 10:30 AM, David Herrmann
[off-list ref] wrote:
Hi Johannes

On Mon, May 7, 2012 at 1:49 PM, Johannes Berg [off-list ref]
wrote:
quoted
Really? 2 static buffers that are used alternately based on a static
variable? How can that possibly be thread-safe? That may work in very
restricted scenarios, but ...
Looking at "git blame" it seems the whole function is still from
linux-2.4. Looks like no-one ever noticed. I've sent a patchset fixing
it, thanks.
Thanks for fixing it. I'm sure we haven't noticed but it's still weird
to have it this way. :-/

Regards,

--
Ulisses Furquim
ProFUSION embedded systems
http://profusion.mobi
Mobile: +55 19 9250 0942
Skype: ulissesffs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help