Subject: kern/34992: ath.c in 3.1 won't compile without BPF
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: netbsd-bugs
Date: 11/04/2006 19:05:00
>Number: 34992
>Category: kern
>Synopsis: ath.c in 3.1 won't compile without BPF
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 04 19:05:00 +0000 2006
>Originator: Steven M. Bellovin
>Release: NetBSD 3.1
>Organization:
>Environment:
System: NetBSD machshav.com 3.0.1 NetBSD 3.0.1 (MACHSHAV) #1: Fri Jul 21 13:29:46 EDT 2006 smb@machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/MACHSHAV i386
Architecture: i386
Machine: i386
>Description:
sys/dev/ic/ath.c 1.45 won't compile if BPF is excluded from the
kernel.
>How-To-Repeat:
See above. The fix appears to be in -current already, but
wasn't pulled up.
>Fix:
# cvs diff ath.c
Index: ath.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/ath.c,v
retrieving revision 1.45
diff -r1.45 ath.c
2767a2768
> #if NBPFILTER > 0
2782a2784
> #endif
>Unformatted: