Date: Thu, 8 Feb 2001 09:56:50 -0800 (PST) From: Archie Cobbs <archie@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_ethersubr.c Message-ID: <200102081756.f18Huo993306@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
archie 2001/02/08 09:56:50 PST
Modified files:
sys/net if_ethersubr.c
Log:
When we receive an incoming Ethernet frame that was unicast to a
different hardware address, we should drop it (this should only
happen in promiscuous mode). Relocate the code for this check
from before ng_ether(4) processing to after ng_ether(4) processing.
Also fix a compiler warning.
PR: kern/24465
Revision Changes Path
1.89 +15 -11 src/sys/net/if_ethersubr.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102081756.f18Huo993306>
