From owner-cvs-all Tue Feb 6 17: 3:41 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 9CD4337B65D; Tue, 6 Feb 2001 17:03:14 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1713EE20280; Tue, 6 Feb 2001 17:03:14 -0800 (PST) (envelope-from luigi) Message-Id: <200102070103.f1713EE20280@freefall.freebsd.org> From: Luigi Rizzo Date: Tue, 6 Feb 2001 17:03:14 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridge.c if_ethersubr.c src/sys/netinet if_ether.c ip_fw.c ip_fw.h 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/06 17:03:14 PST Modified files: (Branch: RELENG_4) sys/net bridge.c if_ethersubr.c sys/netinet if_ether.c ip_fw.c ip_fw.h ip_input.c ip_output.c Log: Another sweep at the bridge/ipfw/dummynet code, thanks to the bug reports received over the last days. Among other things, this commit should avoid some of the problems with ARP replies being copied to the wrong interface. In detail (and modulo errors) bridge.c: + comment out some verbose debugging messages; + improve handling of configurations with multiple interface clusters. Do not permit leaks of packets from one cluster to another. + simplify the structure of bdg_forward() net/if_ethersubr.c: + minor simplifications related to the change of interface in bdg_forward(); netinet/if_ether.c + minor simplifications in the arp error handling code. netinet/ip_fw.c netinet/ip_fw.h + #define and use a symbolic constant for the return value from ip_fw_chk netinet/ip_input.c netinet/ip_output.c + same as above, plus improve error handling in case the firewall decides to change the mbuf pointer. Revision Changes Path 1.16.2.13 +60 -65 src/sys/net/bridge.c 1.70.2.12 +1 -6 src/sys/net/if_ethersubr.c 1.64.2.8 +9 -15 src/sys/netinet/if_ether.c 1.131.2.15 +3 -5 src/sys/netinet/ip_fw.c 1.47.2.6 +3 -2 src/sys/netinet/ip_fw.h 1.130.2.13 +3 -5 src/sys/netinet/ip_input.c 1.99.2.10 +6 -10 src/sys/netinet/ip_output.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message