diff options
author | darrenr <darrenr@FreeBSD.org> | 2000-07-19 13:52:47 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2000-07-19 13:52:47 +0000 |
commit | 90778a716059d6db7810bad8d8a4e1b787dc4a06 (patch) | |
tree | 9dd2dd57126e92fb1c50f3f79af38794f6e05b63 /contrib/ipfilter/ip_frag.c | |
parent | dda6755c7b3b3b5d3e9111b7d0c39a7d8b5f3e12 (diff) | |
download | FreeBSD-src-90778a716059d6db7810bad8d8a4e1b787dc4a06.zip FreeBSD-src-90778a716059d6db7810bad8d8a4e1b787dc4a06.tar.gz |
Import v3.4.8 into -current
Diffstat (limited to 'contrib/ipfilter/ip_frag.c')
-rw-r--r-- | contrib/ipfilter/ip_frag.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ipfilter/ip_frag.c b/contrib/ipfilter/ip_frag.c index 3e0a7f3..5019c60 100644 --- a/contrib/ipfilter/ip_frag.c +++ b/contrib/ipfilter/ip_frag.c @@ -7,7 +7,7 @@ */ #if !defined(lint) static const char sccsid[] = "@(#)ip_frag.c 1.11 3/24/96 (C) 1993-2000 Darren Reed"; -static const char rcsid[] = "@(#)$Id: ip_frag.c,v 2.10.2.3 2000/05/05 15:10:23 darrenr Exp $"; +static const char rcsid[] = "@(#)$Id: ip_frag.c,v 2.10.2.4 2000/06/06 15:49:15 darrenr Exp $"; #endif #if defined(KERNEL) && !defined(_KERNEL) @@ -144,6 +144,9 @@ ipfr_t *table[]; ipfr_t **fp, *fra, frag; u_int idx; + if (ipfr_inuse >= IPFT_SIZE) + return NULL; + frag.ipfr_p = ip->ip_p; idx = ip->ip_p; frag.ipfr_id = ip->ip_id; |