Date: Fri, 26 Mar 1999 10:19:22 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: cmsedore@maxwell.syr.edu (Christopher Sedore) Cc: freebsd-net@FreeBSD.ORG Subject: Re: bpf bug? Message-ID: <199903261819.KAA86181@bubba.whistle.com> In-Reply-To: <262C3DA9BE0CD211971700A0C9B413A1CBEF@exchange.maxwell.syr.edu> from Christopher Sedore at "Mar 26, 99 11:17:17 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Sedore writes: > I noticed today that when sending a packet through the bpf interface, > the kernel silently resets the ethernet source MAC to the MAC of the > network card doing the send. My impression was that bpf writes should > go direct to the interface without any edits in the kernel--am I wrong > on this? My opinion on this is that yes it's a bug. However, it's not so easy to fix, because other parts of the kernel surely rely on this behavior. To fix it would probably require a new argument to if_output() (or whatever it's called) or perhaps a new mbuf flag. I suggest you file a PR and see what comes back :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903261819.KAA86181>