From 6190990146f1ca0f7982e3b90b4eaf1474d39c9e Mon Sep 17 00:00:00 2001 From: dyoung Date: Mon, 2 Jun 2008 23:07:13 +0000 Subject: [PATCH] Destroy condition variable sc_fp_condvar. --- sys/net/if_gre.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 31ba9d59df71..074cbda888b5 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_gre.c,v 1.134 2008/05/15 04:03:53 dyoung Exp $ */ +/* $NetBSD: if_gre.c,v 1.135 2008/06/02 23:07:13 dyoung Exp $ */ /* * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -45,7 +45,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.134 2008/05/15 04:03:53 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.135 2008/06/02 23:07:13 dyoung Exp $"); #include "opt_gre.h" #include "opt_inet.h" @@ -408,6 +408,7 @@ gre_clone_destroy(struct ifnet *ifp) splx(s); cv_destroy(&sc->sc_condvar); + cv_destroy(&sc->sc_fp_condvar); mutex_destroy(&sc->sc_mtx); gre_evcnt_detach(sc); free(sc, M_DEVBUF);