From owner-cvs-src-old@FreeBSD.ORG Tue Apr 19 15:06:44 2011 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 917611065674 for ; Tue, 19 Apr 2011 15:06:44 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F40A8FC08 for ; Tue, 19 Apr 2011 15:06:44 +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 p3JF6i3b010876 for ; Tue, 19 Apr 2011 15:06:44 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3JF6iT1010875 for cvs-src-old@freebsd.org; Tue, 19 Apr 2011 15:06:44 GMT (envelope-from glebius@repoman.freebsd.org) Message-Id: <201104191506.p3JF6iT1010875@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to glebius@repoman.freebsd.org using -f From: Gleb Smirnoff Date: Tue, 19 Apr 2011 15:06:33 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_fw.h src/sys/netinet/ipfw ip_fw_nat.c ip_fw_private.h 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: Tue, 19 Apr 2011 15:06:44 -0000 glebius 2011-04-19 15:06:33 UTC FreeBSD src repository Modified files: sys/netinet ip_fw.h sys/netinet/ipfw ip_fw_nat.c ip_fw_private.h Log: SVN rev 220837 on 2011-04-19 15:06:33Z by glebius - Rewrite functions that copyin/out NAT configuration, so that they calculate required memory size dynamically. - Fix races on chain re-lock. - Introduce new field to ip_fw_chain - generation count. Now utilized only in the NAT configuration, but can be utilized wider in ipfw. - Get rid of NAT_BUF_LEN in ip_fw.h PR: kern/143653 Revision Changes Path 1.140 +0 -2 src/sys/netinet/ip_fw.h 1.17 +73 -53 src/sys/netinet/ipfw/ip_fw_nat.c 1.16 +1 -0 src/sys/netinet/ipfw/ip_fw_private.h