summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/sscf_uni_lower.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-24 12:24:41 +0000
committerharti <harti@FreeBSD.org>2003-07-24 12:24:41 +0000
commit7c7ac6a966ea4d57e92552d9935978173098af83 (patch)
tree4cee3381758b3419c4a03bb49c836be3733a11ba /sys/netatm/uni/sscf_uni_lower.c
parentf0c745cd0fc26c1c0e59ccebf9b4908b0f06e02e (diff)
downloadFreeBSD-src-7c7ac6a966ea4d57e92552d9935978173098af83.zip
FreeBSD-src-7c7ac6a966ea4d57e92552d9935978173098af83.tar.gz
Free the UNI vcc to the same zone from where it was allocated from.
This resulted in a panic when detaching the uni31 signalling manager.
Diffstat (limited to 'sys/netatm/uni/sscf_uni_lower.c')
-rw-r--r--sys/netatm/uni/sscf_uni_lower.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netatm/uni/sscf_uni_lower.c b/sys/netatm/uni/sscf_uni_lower.c
index 08b83dc..76bae53 100644
--- a/sys/netatm/uni/sscf_uni_lower.c
+++ b/sys/netatm/uni/sscf_uni_lower.c
@@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$");
#include <vm/uma.h>
-extern uma_zone_t unisig_vc_zone;
+extern uma_zone_t sscf_uni_zone;
/*
* Local variables
@@ -170,7 +170,7 @@ sscf_uni_lower(cmd, tok, arg1, arg2)
sscf_uni_abort(uvp, "sscf_uni: TERM failure\n");
return;
}
- uma_zfree(unisig_vc_zone, uvp);
+ uma_zfree(sscf_uni_zone, uvp);
sscf_uni_vccnt--;
break;
OpenPOWER on IntegriCloud