diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-09-25 04:50:27 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-09-25 04:50:27 +0000 |
commit | b47b9d0cc0c8111f4bfa3e2f64092741e0ef3e03 (patch) | |
tree | ce95042c0ccda8fd7c910afdd45a8be256d75b22 /sys/dev | |
parent | 18137fc0e5ab7728fbc9a93e314fa19ad993d2c4 (diff) | |
download | FreeBSD-src-b47b9d0cc0c8111f4bfa3e2f64092741e0ef3e03.zip FreeBSD-src-b47b9d0cc0c8111f4bfa3e2f64092741e0ef3e03.tar.gz |
Call sk_start() at the end of sk_intr() if there's packets in the
interface send queue that need to be processed.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sk/if_sk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 95bf540..edb941f 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -1703,6 +1703,11 @@ static void sk_intr(xsc) CSR_WRITE_4(sc, SK_IMR, sc->sk_intrmask); + if (ifp0 != NULL && ifp0->if_snd.ifq_head != NULL) + sk_start(ifp0); + if (ifp1 != NULL && ifp1->if_snd.ifq_head != NULL) + sk_start(ifp1); + return; } |