From acc711721bfcb8f793a7e54f3b300ee02dc75f74 Mon Sep 17 00:00:00 2001 From: mpi Date: Mon, 19 Jun 2017 09:36:27 +0000 Subject: [PATCH] Do not call txeof nor rxeof in the watchdog routine. They cannot be serialized with the interrupt routine and are useless because the driver is reinitialized right after. Pointed by and ok mikeb@ --- sys/dev/ic/re.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 3af886547be..09ba01c55da 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.201 2017/01/24 03:57:34 dlg Exp $ */ +/* $OpenBSD: re.c,v 1.202 2017/06/19 09:36:27 mpi Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -2074,9 +2074,6 @@ re_watchdog(struct ifnet *ifp) s = splnet(); printf("%s: watchdog timeout\n", sc->sc_dev.dv_xname); - re_txeof(sc); - re_rxeof(sc); - re_init(ifp); splx(s); -- 2.20.1