From 1c33cc4bc5c9fe962cd3af404f07b61e13cbb672 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Mon, 22 Apr 2002 16:15:16 +0000 Subject: [PATCH] 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 67000b6084c..53b4d49597f 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; }