From owner-cvs-all Thu Feb 1 12:25:36 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3382137B491; Thu, 1 Feb 2001 12:25:10 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11KPAx18116; Thu, 1 Feb 2001 12:25:10 -0800 (PST) (envelope-from luigi) Message-Id: <200102012025.f11KPAx18116@freefall.freebsd.org> From: Luigi Rizzo Date: Thu, 1 Feb 2001 12:25:10 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridge.c bridge.h if_ethersubr.c src/sys/netinet ip_dummynet.c ip_dummynet.h ip_fw.c ip_input.c ip_output.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG luigi 2001/02/01 12:25:10 PST Modified files: (Branch: RELENG_4) sys/net bridge.c bridge.h if_ethersubr.c sys/netinet ip_dummynet.c ip_dummynet.h ip_fw.c ip_input.c ip_output.c Log: Assorted bridge+ipfw+dummynet fixes. The general goal of this set of patches is to reduce the number of places where shared mbuf clusters are modified. In detail: ip_fw.c: modified the ip_fw_chk interface (so that it does not consume the buffer unless strictly necessary). ip_input.c, ip_output.c, bridge.c: reflect above changes. if_ethersubr.c: avoid dereferencing pointers to an mbuf chain after it has been freed. Also fix some bugs when interfaces are not part of a bridging cluster. ip_dummynet.[ch] largely simplified the WF2Q+ implementation removing a redundant data structrure. bridge.[ch] fix the forwarding loop to avoid modifying the packet when possible. Revision Changes Path 1.16.2.12 +115 -171 src/sys/net/bridge.c 1.4.2.2 +44 -7 src/sys/net/bridge.h 1.70.2.11 +23 -10 src/sys/net/if_ethersubr.c 1.24.2.10 +43 -41 src/sys/netinet/ip_dummynet.c 1.10.2.3 +2 -3 src/sys/netinet/ip_dummynet.h 1.131.2.13 +6 -8 src/sys/netinet/ip_fw.c 1.130.2.12 +7 -1 src/sys/netinet/ip_input.c 1.99.2.9 +9 -2 src/sys/netinet/ip_output.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message