diff options
| author | Roman Kurakin <rik@FreeBSD.org> | 2005-07-09 14:03:02 +0000 |
|---|---|---|
| committer | Roman Kurakin <rik@FreeBSD.org> | 2005-07-09 14:03:02 +0000 |
| commit | de66928b864d47d8aa5358b45f3c3f457578f10f (patch) | |
| tree | 62d2350480485b6065e4bc5a8b1b15c00bc4db76 /sys/dev/cx | |
| parent | 045f25a28dd45c81ed12171f8bd1c043c85a1f99 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cx')
| -rw-r--r-- | sys/dev/cx/if_cx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 350d6536745f..bf458a90818b 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -374,6 +374,8 @@ static void cx_intr (void *arg) for (i = 0; i < NCHAN && b->chan[i].type; i++) { drv_t *d = b->chan[i].sys; struct mbuf *m; + if (!d || !d->running) + continue; while (_IF_QLEN(&d->queue)) { IF_DEQUEUE (&d->queue,m); if (!m) |
