summaryrefslogtreecommitdiffstats
path: root/sys/dev/em
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-09-29 18:28:28 +0000
committermlaier <mlaier@FreeBSD.org>2004-09-29 18:28:28 +0000
commitf3ac83fdb2c137f335f17e11307545a6b9286811 (patch)
tree9f7e7a4265326c9c4edcdd716806fc60394f89c2 /sys/dev/em
parent098b50576337659d238992b2ccffffb412382b92 (diff)
downloadFreeBSD-src-f3ac83fdb2c137f335f17e11307545a6b9286811.zip
FreeBSD-src-f3ac83fdb2c137f335f17e11307545a6b9286811.tar.gz
Fix typeo. Should read ***!***IFQ_DRV_IS_EMPTY.
This might fix some of the trouble around em(4) filling up its buffers. Submitted by: mtm Pointy hat to: mlaier MFC after: 2 days
Diffstat (limited to 'sys/dev/em')
-rw-r--r--sys/dev/em/if_em.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 3a0659c..a0333ed 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -1019,7 +1019,7 @@ em_intr(void *arg)
loop_cnt--;
}
- if (ifp->if_flags & IFF_RUNNING && IFQ_DRV_IS_EMPTY(&ifp->if_snd))
+ if (ifp->if_flags & IFF_RUNNING && !IFQ_DRV_IS_EMPTY(&ifp->if_snd))
em_start_locked(ifp);
EM_UNLOCK(adapter);
OpenPOWER on IntegriCloud