]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r217353:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 20 Feb 2011 01:02:11 +0000 (01:02 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 20 Feb 2011 01:02:11 +0000 (01:02 +0000)
commit2a74e25b1c3b63242c4332843c1741ef59d16b22
tree502b79345f9b5c1736e7f9532d0030640f8bdaa1
parent1cbdec2f3832517cdccd58dd564f91c8b93f30b9
MFC r217353:
  - Add a locked variant of jme_start() and invoke it directly while holding
    the lock instead of queueing it to a task.
  - Do not invoke jme_rxintr() to reclaim any unprocessed but received
    packets when shutting down the interface.  Instead, just drop these
    packets to match the behavior of other drivers.
  - Hold the driver lock in the interrupt handler to avoid races with
    ioctl requests to down the interface.

git-svn-id: svn://svn.freebsd.org/base/stable/8@218866 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/jme/if_jme.c
sys/dev/jme/if_jmevar.h