cvs commit: src/sys/dev/iwn if_iwn.c

Xin LI delphij at FreeBSD.org
Mon May 26 07:40:16 UTC 2008


delphij     2008-05-26 07:40:14 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/iwn          if_iwn.c 
  Log:
  We can not call iwn_start directly in the interrupt
  context, where the iwn mutex is being held, and
  iwn_start assumes that we do not have that mutex held.
  
  Resolve this issue with what we do for other NICs by
  splitting the iwn_start procedure into two parts,
  iwn_start() do the locking, and iwn_start_locked()
  assumes that the mutex is being held.  This resolves
  panic when WITNESS is enabled.
  
  Revision  Changes    Path
  1.6       +14 -3     src/sys/dev/iwn/if_iwn.c


More information about the cvs-src mailing list