Revision 477206a018f902895bfcd069dd820bfe94c187b1 authored by Julien Ducourthial on 08 May 2012, 22:00:06 UTC, committed by David S. Miller on 08 May 2012, 23:34:10 UTC
The r8169 may get stuck or show bad behaviour after activating TSO : the net_device is not stopped when it has no more TX descriptors. This problem comes from TX_BUFS_AVAIL which may reach -1 when all transmit descriptors are in use. The patch simply tries to keep positive values. Tested with 8111d(onboard) on a D510MO, and with 8111e(onboard) on a Zotac 890GXITX. Signed-off-by: Julien Ducourthial <jducourt@free.fr> Acked-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c5baa80
File | Mode | Size |
---|---|---|
ccids | ||
Kconfig | -rw-r--r-- | 1.7 KB |
Makefile | -rw-r--r-- | 842 bytes |
ackvec.c | -rw-r--r-- | 12.4 KB |
ackvec.h | -rw-r--r-- | 4.7 KB |
ccid.c | -rw-r--r-- | 5.2 KB |
ccid.h | -rw-r--r-- | 8.7 KB |
dccp.h | -rw-r--r-- | 16.7 KB |
diag.c | -rw-r--r-- | 2.3 KB |
feat.c | -rw-r--r-- | 47.1 KB |
feat.h | -rw-r--r-- | 4.6 KB |
input.c | -rw-r--r-- | 21.6 KB |
ipv4.c | -rw-r--r-- | 28.4 KB |
ipv6.c | -rw-r--r-- | 31.4 KB |
ipv6.h | -rw-r--r-- | 822 bytes |
minisocks.c | -rw-r--r-- | 7.9 KB |
options.c | -rw-r--r-- | 17.2 KB |
output.c | -rw-r--r-- | 20.2 KB |
probe.c | -rw-r--r-- | 4.9 KB |
proto.c | -rw-r--r-- | 30.0 KB |
qpolicy.c | -rw-r--r-- | 3.4 KB |
sysctl.c | -rw-r--r-- | 2.9 KB |
timer.c | -rw-r--r-- | 7.5 KB |
Computing file changes ...