Date: Thu, 1 Feb 2001 12:25:10 -0800 (PST) From: Luigi Rizzo <luigi@FreeBSD.org> 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 Message-ID: <200102012025.f11KPAx18116@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102012025.f11KPAx18116>
