From owner-cvs-all Mon Jan 22 14:35:19 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 87F8037B6AE; Mon, 22 Jan 2001 14:34:53 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0MMYrm03063; Mon, 22 Jan 2001 14:34:53 -0800 (PST) (envelope-from luigi) Message-Id: <200101222234.f0MMYrm03063@freefall.freebsd.org> From: Luigi Rizzo Date: Mon, 22 Jan 2001 14:34:53 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bridge.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG luigi 2001/01/22 14:34:53 PST Modified files: sys/net bridge.c Log: Assorted bugfixes: + configuration: make sure that the NUL at the end of the config string is properly detected and handled, and the stats passed up via sysctl properly reflect which interfaces do bridging. (The whole config support might make good use of some cleanup in the future). + fixed some bugs related to the corruption of multicast and broadcast packets: make sure that for those packets the entire IP + ethernet header is in the mbuf, not in a cluster, so that writes performed in that area by the upper layers do not affect us. + performance: when calling m_pullup, make room for the ethernet header as well, we are going to add it in right after. Also, change an m_dup back to m_copypacket. The former is not necessary anymore now, and it did not help, anyways. I will do a fast MFC because 95% of this patch is fixing bad bugs and i doubt anyone would test the fix in CURRENT. Plus the last two items mostly bring back some code which was already there in 4.0 times. Revision Changes Path 1.30 +24 -15 src/sys/net/bridge.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message