]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
MACB: clear transmit buffers properly on transmit underrun
authorGregory CLEMENT <gclement00@gmail.com>
Wed, 19 Dec 2007 17:23:44 +0000 (18:23 +0100)
committerJeff Garzik <jeff@garzik.org>
Sun, 23 Dec 2007 04:26:51 +0000 (23:26 -0500)
commitbdcba1511b98f2e728b3a910b8771a0d3fce5bf3
tree15634cbfa160533289574f994123e90d1246860a
parent61c93f4eb45493f203d6bad24156599668be614f
MACB: clear transmit buffers properly on transmit underrun

Initially transmit buffer pointers were only reset. But buffer
descriptors were possibly still set as ready, and buffer in upper
layer was not freed. This caused driver hang under big load.  Now
reset clean properly the buffer descriptor and freed upper layer.

Signed-off-by: Gregory CLEMENT <gclement00@gmail.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/macb.c