freebsd-nq/sys/i386
Mike Smith b63b587cb3 A better fix for kern/7144:
The check for dropping unicast packets not sent to our ethernet
address is after the bpf tap, but not conditioned on it.  All packets
received should get handed to bpf, and unicast packets not to us (mac)
should get dropped whether or not there is a bpf listener.  I believe
that the common optimization that the interface is in hw promisc mode
iff there is a bpf listener is in general wrong, but more frequently
so on wavelans.

I think Max's fix makes bpf listeners not see unicast packets sent to
others, but I'm not sure.

One can argue that checking on MOD_ENAL is wrong, but the code only
drops packets that shouldn't be received.  The correctness condition
is that it be run whenever unicast packets without our mac address can
be received.

PR:		kern/7144
Submitted by:	Greg Troxel <gdt@ir.bbn.com>
1998-08-20 05:49:59 +00:00
..
apm Add the ability to suspend as well as hibernate to the system. This 1998-07-06 06:29:07 +00:00
bios Add the ability to suspend as well as hibernate to the system. This 1998-07-06 06:29:07 +00:00
boot Correct an irritating documentation error. 1998-08-04 00:39:45 +00:00
conf Oops, the previous commit was of a local version. 1998-08-17 16:58:02 +00:00
eisa MF22: Shut this thing up by default. 1998-08-09 02:22:34 +00:00
i386 Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
ibcs2 Removed unused includes. Fixed disordering of includes. 1998-08-17 18:12:52 +00:00
include Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
isa A better fix for kern/7144: 1998-08-20 05:49:59 +00:00
linux Use [u]intptr_t instead of [u_]long for casts between pointers and 1998-08-16 01:21:52 +00:00
pci Make the class code checks in function pci_cfgcheck less strict. 1997-12-20 09:04:25 +00:00
scsi Fixed pedantic semantics errors (bitfields not of type int, signed int 1998-06-08 09:47:47 +00:00
Makefile Make this ${.OBJDIR} and ${.CURDIR} aware. 1998-05-31 22:40:49 +00:00