Re: CVS version hangs the computer


From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-08-28 14:19:42 UTC



On Wed, Aug 28, 2002 at 01:14:31AM +0200, Ricardo Galli wrote:

> Confirmed, after hours of ping-flooding from end to end without a glitch, the
> problem seems to reside in a race condition in the interface syscalls
> (wavemon and iwconfig kill the machine if run at the same time of a ping
> flood).

Yes, indeed. Set RID function did not survive CmdCompl changes without problems. There was a horrible bug in it that caused deadlocks when any other command (e.g., transmit for TX packet) was pending. Set RID called hfa384x_cmd() (that can sleep after the CmdCompl changes) while holding a spinlock and with interrupts disabled.. This is now fixed in CVS.  

-- 
Jouni Malinen                                            PGP id EFC895FA


This archive was generated by hypermail 2.1.4.