artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bc80f
)
timeout_del() the timer while stopping an interface so that no timeout
author
kevlo
<kevlo@openbsd.org>
Tue, 5 Dec 2023 13:43:39 +0000
(13:43 +0000)
committer
kevlo
<kevlo@openbsd.org>
Tue, 5 Dec 2023 13:43:39 +0000
(13:43 +0000)
is fired afterwards.
ok claudio@
sys/dev/pci/if_vr.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_vr.c
b/sys/dev/pci/if_vr.c
index
babef2d
..
79e7529
100644
(file)
--- a/
sys/dev/pci/if_vr.c
+++ b/
sys/dev/pci/if_vr.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_vr.c,v 1.1
59 2022/03/11 18:00:50 mpi Exp $
*/
+/* $OpenBSD: if_vr.c,v 1.1
60 2023/12/05 13:43:39 kevlo Exp $
*/
/*
* Copyright (c) 1997, 1998
@@
-1603,6
+1603,7
@@
vr_stop(struct vr_softc *sc)
ifp->if_timer = 0;
timeout_del(&sc->sc_to);
+ timeout_del(&sc->sc_rxto);
ifp->if_flags &= ~IFF_RUNNING;
ifq_clr_oactive(&ifp->if_snd);