From owner-cvs-src-old@FreeBSD.ORG Sat Nov 6 14:49:27 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 641AA106564A for ; Sat, 6 Nov 2010 14:49:27 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 51A9C8FC12 for ; Sat, 6 Nov 2010 14:49:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oA6EnRXq058131 for ; Sat, 6 Nov 2010 14:49:27 GMT (envelope-from lstewart@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA6EnRhv058130 for cvs-src-old@freebsd.org; Sat, 6 Nov 2010 14:49:27 GMT (envelope-from lstewart@repoman.freebsd.org) Message-Id: <201011061449.oA6EnRhv058130@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to lstewart@repoman.freebsd.org using -f From: Lawrence Stewart Date: Sat, 6 Nov 2010 14:49:10 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/netinet siftr.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 14:49:27 -0000 lstewart 2010-11-06 14:49:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet siftr.c Log: SVN rev 214883 on 2010-11-06 14:49:10Z by lstewart MFC r210203: - Move common code from the hook functions that fills in a packet node struct to a separate inline function. This further reduces duplicate code that didn't have a good reason to stay as it was. - Reorder the malloc of a pkt_node struct in the hook functions such that it only occurs if we managed to find a usable tcpcb associated with the packet. - Make the inp_locally_locked variable's type consistent with the prototype of siftr_siftdata(). Sponsored by: FreeBSD Foundation Revision Changes Path 1.6.4.3 +87 -115 src/sys/netinet/siftr.c