Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 07:40:14 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/iwn if_iwn.c
Message-ID:  <200805260740.m4Q7eEDb000280@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805260740.m4Q7eEDb000280>