diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2005-01-01 00:30:32 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2005-01-01 00:30:32 +0000 |
commit | 4881b38370d8be2b802d062b5069c00a337aedec (patch) | |
tree | 3e7ba2f30df6dff9894e916fcf110bd3ff851dd2 /sys/net/if_pppoe.c | |
parent | 662b30bb4606ab268585c014cc5c69773d342f3e (diff) |
Disable timeout before destroying a pppoe interface
ok deraadt@, henning@, krw@
Diffstat (limited to 'sys/net/if_pppoe.c')
-rw-r--r-- | sys/net/if_pppoe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c index 1c541608c16..d7db42c70b7 100644 --- a/sys/net/if_pppoe.c +++ b/sys/net/if_pppoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppoe.c,v 1.2 2004/11/29 20:15:40 pat Exp $ */ +/* $OpenBSD: if_pppoe.c,v 1.3 2005/01/01 00:30:31 canacar Exp $ */ /* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */ /* @@ -272,6 +272,7 @@ pppoe_clone_destroy(struct ifnet *ifp) s = splimp(); LIST_REMOVE(sc, sc_list); + timeout_del(&sc->sc_timeout); splx(s); #if NBPFILTER > 0 |