Destroy condition variable sc_fp_condvar.
This commit is contained in:
parent
a51fec9810
commit
6190990146
|
@ -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 <sys/cdefs.h>
|
||||
__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);
|
||||
|
|
Loading…
Reference in New Issue