]> git.neil.brown.name Git - history.git/commit
[PATCH] pcnet32: avoid timeout with tcpdump
authorDon Fry <brazilnut@us.ibm.com>
Thu, 27 May 2004 09:12:31 +0000 (05:12 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 27 May 2004 09:12:31 +0000 (05:12 -0400)
commitd99e292eb07a5780ee8c053896c5d3ba4d14b37f
tree035fdafea4f81c61c492fd2106c1261e13ce7b35
parent765c4495f5eb62a0ceffec798b2ead8b6f2d3ebc
[PATCH] pcnet32: avoid timeout with tcpdump

This patch avoids a timeout when entering/exiting promiscuous mode with
tcpdump.  All pending xmit operations are flushed and if the queue is
full the timeout will occur.  The wake_queue avoids that timeout.
Tested ppc64 and ia32.
drivers/net/pcnet32.c