Subject: kern/35228: ath and tcpdump don't mix
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <perry@piermont.com>
List: netbsd-bugs
Date: 12/10/2006 22:45:00
>Number:         35228
>Category:       kern
>Synopsis:       ath and tcpdump don't mix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 10 22:45:00 +0000 2006
>Originator:     Perry E. Metzger
>Release:        NetBSD 4.99.3
>Organization:
Perry E. Metzger		perry@piermont.com
--
"Ask not what your country can force other people to do for you..."
>Environment:
	
	
System: NetBSD hackworth 4.99.3 NetBSD 4.99.3 (HACKWORTH) #0: Fri Oct 27 14:05:48 EDT 2006 perry@hackworth:/usr/obj/sys/arch/i386/compile/HACKWORTH i386
Architecture: i386
Machine: i386
>Description:

If you do a tcpdump on an ath interface, it quits receiving packets
from the rest of the world, though it doesn't show any apparent
problems if you ifconfig the interface in another window. I suspect
this is a promiscuous mode problem rather than a bpf problem, but I
haven't looked into the details. The interface fails to get back to
normal until you down and up the interface again.

>How-To-Repeat:

Try doing tcpdump on an ath device, say:

tcpdump -n -i ath0 host foo

Then watch as the tcpdump shows packets you send, but no others. Then
notice that all your connections are dead. Then kill the tcpdump --
you will need up and down the ath interface and wait some moments to
get connectivity again.

>Fix:
	

>Unformatted: