diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2001-09-25 14:54:32 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2001-09-25 14:54:32 +0000 |
commit | b354d45b5706773be16c9e4f8c3cfcabfc8576fe (patch) | |
tree | 7a82787614b69b590c776e8fa83a8e11fcd8b1dc /sys/netinet6 | |
parent | 9502ba71eb29f7cc83d5046a88ebd14321c60161 (diff) |
free mbuf when dropping a packet. ok dhartmei@ (also checked by
mcbride@countersiege.com)
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index c195c1fc38a..d0006036936 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.50 2001/09/15 03:54:40 frantzen Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.51 2001/09/25 14:54:31 jasoni Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -883,6 +883,7 @@ skip_ipsec2:; #if NPF > 0 if (pf_test6(PF_OUT, ifp, &m) != PF_PASS) { error = EHOSTUNREACH; + m_freem(m); goto done; } #endif |