Re: [B.A.T.M.A.N.] race condition with activate_module?

2010-02-14 Thread Simon Wunderlich
Works fine and really seems to make a difference when trying with the ssleep() stuff from linus (which also crashes in my qemu testbed). After applying your patch it works fine. I have committed it along with some other sanity checks in r1573. On Fri, Feb 12, 2010 at 07:06:46PM +0800, Marek

[B.A.T.M.A.N.] race condition with activate_module?

2010-02-08 Thread Linus Lüssing
Hi guys, I think I've seen this bug a couple of times but I've never been able to reproduce it. Now I added a little patch to slow down the activate_module() procedure and the bug occures every time now. My question is, did I make a race condition apparent or did I introduce a bug with this