From owner-cvs-src@FreeBSD.ORG Fri Apr 8 10:25:14 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65E4116A4CE; Fri, 8 Apr 2005 10:25:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C17843D39; Fri, 8 Apr 2005 10:25:14 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j38APEV9034504; Fri, 8 Apr 2005 10:25:14 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j38APEPj034495; Fri, 8 Apr 2005 10:25:14 GMT (envelope-from maxim) Message-Id: <200504081025.j38APEPj034495@repoman.freebsd.org> From: Maxim Konovalov Date: Fri, 8 Apr 2005 10:25:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 10:25:14 -0000 maxim 2005-04-08 10:25:13 UTC FreeBSD src repository Modified files: sys/netinet ip_input.c Log: o Nano optimize ip_reass() code path for the first fragment: do not try to reasseble the packet from the fragments queue with the only fragment, finish with the first fragment as soon as we create a queue. Spotted by: Vijay Singh o Drop the fragment if maxfragsperpacket == 0, no chances we will be able to reassemble the packet in future. Reviewed by: silby Revision Changes Path 1.300 +3 -5 src/sys/netinet/ip_input.c