From 6fa3be308b0b40789e197b572254a3d7e7407953 Mon Sep 17 00:00:00 2001 From: jdp Date: Mon, 22 Apr 2002 16:15:16 +0000 Subject: 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 --- sys/dev/bge/if_bge.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- cgit v1.1