Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 20:28:56 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/hme if_hme.c
Message-ID:  <200508242028.j7OKSuef069878@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-08-24 20:28:56 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/hme          if_hme.c 
  Log:
  - Remove redundant assertions that the driver lock is not held in attach()
    and detach() since mtx_lock() will assert that already since the driver
    lock is not recursive.
  - Move the call to callout_init_mtx() before hme_stop() so that the
    callout_stop() in hme_stop() doesn't operate on an uninitialized callout
    structure during attach.
  
  Reported by:    yongari (2)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.42      +2 -5      src/sys/dev/hme/if_hme.c



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