diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-12-22 16:49:20 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-12-22 16:49:20 +0000 |
| commit | 55813e26c7f76e8f9045fd37f31d6e19b7ec5abb (patch) | |
| tree | e5b3e6f23400d5addc6aab99b0dd663a259d2371 | |
| parent | a2b33fe311f8056dac434e01424b488f6c271e5c (diff) | |
Notes
| -rw-r--r-- | sys/netinet6/in6_pcb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 70bee207b90b..8d58f8e34d18 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -65,9 +65,11 @@ #include "opt_inet.h" #include "opt_inet6.h" #include "opt_ipsec.h" +#include "opt_mac.h" #include <sys/param.h> #include <sys/systm.h> +#include <sys/mac.h> #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/domain.h> @@ -457,6 +459,9 @@ in6_pcbdetach(inp) (void)m_free(inp->inp_options); ip_freemoptions(inp->inp_moptions); inp->inp_vflag = 0; +#ifdef MAC + mac_destroy_inpcb(inp); +#endif INP_UNLOCK(inp); uma_zfree(ipi->ipi_zone, inp); } |
