Clear mfchashtbl after it's deallocated, to kill a stray pointer. Fixes PR
5400.
This commit is contained in:
parent
135540da2a
commit
5e373d307f
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ip_mroute.c,v 1.39 1999/01/11 21:31:03 thorpej Exp $ */
|
/* $NetBSD: ip_mroute.c,v 1.40 1999/02/01 15:09:46 mycroft Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IP multicast forwarding procedures
|
* IP multicast forwarding procedures
|
||||||
@ -462,7 +462,9 @@ ip_mrouter_done()
|
|||||||
expire_mfc(rt);
|
expire_mfc(rt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
free(mfchashtbl, M_MRTABLE);
|
free(mfchashtbl, M_MRTABLE);
|
||||||
|
mfchashtbl = 0;
|
||||||
|
|
||||||
/* Reset de-encapsulation cache. */
|
/* Reset de-encapsulation cache. */
|
||||||
have_encap_tunnel = 0;
|
have_encap_tunnel = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user