diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-02-05 04:23:44 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-02-05 04:23:44 +0000 |
commit | 6b17b611d634a8b58fb783760ecd426b7fcdd0c7 (patch) | |
tree | 57f52174f06424f766f82d70b9b9582162c7c894 | |
parent | 43c7acec8dca763c1b811929f03921639eac84eb (diff) |
Clear mfchashtbl after deallocation (mycroft@netbsd)
-rw-r--r-- | sys/netinet/ip_mroute.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 69ce5fb48f4..e3e81595b45 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_mroute.c,v 1.13 1999/01/08 21:51:22 provos Exp $ */ +/* $OpenBSD: ip_mroute.c,v 1.14 1999/02/05 04:23:43 angelos Exp $ */ /* $NetBSD: ip_mroute.c,v 1.27 1996/05/07 02:40:50 thorpej Exp $ */ /* @@ -463,7 +463,9 @@ ip_mrouter_done() expire_mfc(rt); } } + free(mfchashtbl, M_MRTABLE); + mfchashtbl = 0; /* Reset de-encapsulation cache. */ have_encap_tunnel = 0; |