diff options
author | Mike Frantzen <frantzen@cvs.openbsd.org> | 2002-06-08 08:09:12 +0000 |
---|---|---|
committer | Mike Frantzen <frantzen@cvs.openbsd.org> | 2002-06-08 08:09:12 +0000 |
commit | a9541d1c82b5e8123b2054df79e34542bacc595f (patch) | |
tree | ad1b2703df3a767b55a88983442516f6cd7e7991 /sys | |
parent | bf79f76a7f4e65d04c31bb9ad6f0cb9e46ccc16e (diff) |
keep the count of fragments consistent when we have to do a fail safe drop
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pf_norm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 3fb67ef6a95..5ac6422ae38 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.29 2002/06/07 21:14:02 frantzen Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.30 2002/06/08 08:09:11 frantzen Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -429,6 +429,7 @@ pf_reassemble(struct mbuf **m0, struct pf_fragment *frag, drop_fragment: /* Oops - fail safe - drop packet */ pool_put(&pf_frent_pl, frent); + pf_nfrents--; m_freem(m); return (NULL); } |