freebsd-skq/sys
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
..
alpha Add Miata system type and pull in the LOCATE_PCS macro from NetBSD. 1998-08-17 08:26:12 +00:00
amd64 Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
compat Use [u]intptr_t instead of [u_]long for casts between pointers and 1998-08-16 01:21:52 +00:00
compile
conf Oops, the previous commit was of a local version. 1998-08-17 16:58:02 +00:00
contrib/softupdates Handle the case of moving a directory onto the top of a sibling's 1998-08-12 20:46:47 +00:00
ddb Update to work with the new elf headers. 1998-08-17 08:06:31 +00:00
dev A better fix for kern/7144: 1998-08-20 05:49:59 +00:00
fs Removed unused includes. 1998-08-17 19:09:36 +00:00
geom Make struct buf->b_offset reflect the real byte offset which got 1998-08-19 10:50:32 +00:00
gnu Quick fix for breakage of read clustering on non-IDE drives. Read 1998-08-18 03:54:39 +00:00
i386 A better fix for kern/7144: 1998-08-20 05:49:59 +00:00
isa Fixed devfs initialization which I broke in the previous commit. 1998-08-20 05:12:48 +00:00
isofs/cd9660 There is no such thing any more as "struct bdevsw". 1998-07-04 22:30:26 +00:00
kern Include opt_devfs.h which defines SLICE, to make previous commit 1998-08-19 20:20:52 +00:00
libkern Converted rcsid to $Id$ again. There shouldn't be any rcsids in the kernel. 1998-08-17 19:26:37 +00:00
miscfs Use [u]intptr_t instead of [u_]long for casts between pointers and 1998-08-16 01:21:52 +00:00
modules The daemon, snake and star savers should refuse to load if the current 1998-08-06 09:14:26 +00:00
msdosfs Removed unused includes. 1998-08-17 19:09:36 +00:00
net Implement DLT_RAW from libpcap 1998-08-18 10:13:11 +00:00
netatalk Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netinet Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netipx Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netkey Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netnatm This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs Fixed printf format errors. 1998-08-18 00:32:50 +00:00
nfsclient Fixed printf format errors. 1998-08-18 00:32:50 +00:00
nfsserver If we get an ENOBUFS from the network, it's normally transient network 1998-08-01 09:04:02 +00:00
pc98 Sync with sys/i386/isa/sio.c revision 1.211. 1998-08-19 11:48:38 +00:00
pccard Fixed printf format errors. 1998-08-18 00:32:50 +00:00
pci Make two changes: 1998-08-19 15:07:46 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Add declaration of {aquire,release}_timer2(). 1998-07-22 08:26:23 +00:00
rpc
scsi Fixed printf format errors. 1998-08-18 00:32:50 +00:00
sys Remove support for NetBSD syscalls. 1998-08-17 03:46:10 +00:00
tools VOP_STRATEGY grows an (struct vnode *) argument 1998-07-04 20:45:42 +00:00
ufs Quick fix for breakage of read clustering on non-IDE drives. Read 1998-08-18 03:54:39 +00:00
vm Protect all modifications to paging_in_progress with splvm(). 1998-08-13 08:05:13 +00:00
Makefile Test for the existance of ${MACHINE}/boot before trying to build it. 1998-02-20 07:37:08 +00:00