Date: Thu, 13 Jan 2011 14:42:43 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/jme if_jme.c if_jmevar.h Message-ID: <201101131442.p0DEgrUw095873@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-01-13 14:42:43 UTC
FreeBSD src repository
Modified files:
sys/dev/jme if_jme.c if_jmevar.h
Log:
SVN rev 217353 on 2011-01-13 14:42:43Z by jhb
- 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.
Reviewed by: yongari
Revision Changes Path
1.25 +22 -24 src/sys/dev/jme/if_jme.c
1.6 +0 -1 src/sys/dev/jme/if_jmevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101131442.p0DEgrUw095873>
