From owner-freebsd-stable Mon Nov 20 9: 6:50 2000 Delivered-To: freebsd-stable@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id 8A9B237B479 for ; Mon, 20 Nov 2000 09:06:45 -0800 (PST) Received: from morpheus.kfu.com (morpheus.kfu.com [205.178.90.230]) by quack.kfu.com (8.11.1/8.11.1) with ESMTP id eAKH6io63718; Mon, 20 Nov 2000 09:06:44 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com by morpheus.kfu.com with ESMTP (8.11.0//ident-1.0) id eAKH6gE22476; Mon, 20 Nov 2000 09:06:42 -0800 (PST) Message-ID: <3A195A22.C835C3DD@quack.kfu.com> Date: Mon, 20 Nov 2000 09:06:42 -0800 From: Nick Sayer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en-GB, en-US, en MIME-Version: 1.0 To: jgarman@wedgie.org Cc: Jordan Hubbard , Marko Cuk , stable@FreeBSD.ORG Subject: Re: FreeBSD 4.2-RELEASE delayed until November 20th. References: <49687.974363227@winston.osd.bsdi.com> <20001119212157.A93256@got.wedgie.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jason Garman wrote: > > [...] > Could someone elaborate on the details here? Check the cvs logs for /src/sys/net/bridge.c: I noticed for a while that broadcast UDP packets were corrupted going through the bridge. Archie helped me figure out what was going wrong. Somewhere in the UDP code, the mbuf rules are not being respected (a packet being futzed with without calling m_pullup() first or some such). The workaround was to modify both the Luigi bridge and the ng_bridge node to use m_dup() instead of m_copypacket() for copying broadcasted packets. This is a performance hit, but it can't be helped until the root cause of the problem is found. I believe the fix went into -stable somewhere between 4.1.1-RELEASE and 4.2. The symptom is that TCP works just fine, but any service relying on broadcast UDP (such as netbios queries) fails. tcpdump on broadcast packets shows that UDP broadcasts are corrupted, but ARP broadcasts (for example) are fine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message