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.
This commit is contained in:
parent
fb4304eca0
commit
892e9c9b57
@ -73,7 +73,7 @@ static int sscf_uni_inst(struct stack_defn **, Atm_connvc *);
|
||||
* Local variables
|
||||
*/
|
||||
|
||||
static uma_zone_t sscf_uni_zone;
|
||||
uma_zone_t sscf_uni_zone;
|
||||
|
||||
static struct stack_defn sscf_uni_service = {
|
||||
NULL,
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user