Subject: Re: bpf breakage
To: None <tech-net@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-net
Date: 07/02/2004 22:39:22
On Sat, Jul 03, 2004 at 10:40:54AM +0900, itojun@iijlab.net wrote:
> 	due to this change in sys/net/bpf.c (bpf_measure -> m_length),
> 	bpf on many interfaces (which prepends address family by integer)
> 	is broken.  the length will become off by 4, and you'll see
> 	"truncated-ip" message from tcpdump.  please back it out.
> 
> 	my guess is the culprit is "optimize m_length" (2nd paragraph from the
> 	bottom).

On which interfaces is it broken, Itojun?  Why do those interfaces
assemble packets with incorrect m_pkthdr.len?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933