summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorJulien Ducourthial <jducourt@free.fr>2012-05-09 00:00:06 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-09 01:34:10 +0200
commit477206a018f902895bfcd069dd820bfe94c187b1 (patch)
tree00327b9b57c77652b6629c9d540c497db886338f /net/ipv4/fib_trie.c
parentMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jesse/o... (diff)
downloadlinux-477206a018f902895bfcd069dd820bfe94c187b1.tar.xz
linux-477206a018f902895bfcd069dd820bfe94c187b1.zip
r8169: fix unsigned int wraparound with TSO
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>
Diffstat (limited to 'net/ipv4/fib_trie.c')
0 files changed, 0 insertions, 0 deletions