Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2006 14:42:38 +0000 (UTC)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb if_axe.c if_axereg.h
Message-ID:  <200606041442.k54Egc2k099110@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2006-06-04 14:42:38 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          if_axe.c if_axereg.h 
  Log:
  Add a sleep lock that protects access to sequences of blocking
  axe_cmd() calls. Without this the device can get confused if multiple
  threads attempt these operations concurrently. The problem was
  easily reproducible by running "ifconfig axe0" in a loop because
  eventually it would conflict with axe_tick_task().
  
  A similar approach is probably required in all USB ethernet drivers.
  
  Revision  Changes    Path
  1.38      +39 -3     src/sys/dev/usb/if_axe.c
  1.10      +4 -0      src/sys/dev/usb/if_axereg.h



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