diff options
author | jdp <jdp@FreeBSD.org> | 2002-04-22 16:15:16 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2002-04-22 16:15:16 +0000 |
commit | 6fa3be308b0b40789e197b572254a3d7e7407953 (patch) | |
tree | 7d3366eecf481748ccfc8a700afdd9994a2aef3c /sys/dev/bge | |
parent | 939221488e2bcf9ac09384b181591d3fe614fed5 (diff) | |
download | FreeBSD-src-6fa3be308b0b40789e197b572254a3d7e7407953.zip FreeBSD-src-6fa3be308b0b40789e197b572254a3d7e7407953.tar.gz |
Add missing splx calls in bge_tick. These don't make any functional
difference in -current, but they are important for -stable where
they are missing too.
MFC after: 1 day
Diffstat (limited to 'sys/dev/bge')
-rw-r--r-- | sys/dev/bge/if_bge.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 67000b60..53b4d49 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -2077,8 +2077,10 @@ bge_tick(xsc) bge_stats_update(sc); sc->bge_stat_ch = timeout(bge_tick, sc, hz); - if (sc->bge_link) + if (sc->bge_link) { + splx(s); return; + } if (sc->bge_tbi) { ifm = &sc->bge_ifmedia; @@ -2090,6 +2092,7 @@ bge_tick(xsc) if (ifp->if_snd.ifq_head != NULL) bge_start(ifp); } + splx(s); return; } |