via-velocity: fix memory corruption when changing the mtu
authorFrancois Romieu <romieu@fr.zoreil.com>
Mon, 27 Feb 2006 22:11:08 +0000 (23:11 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Mon, 27 Feb 2006 22:11:08 +0000 (23:11 +0100)
velocity_rx_refill() only replenishes the descriptor entries which
belong to the CPU. It works great in the Rx path but the driver must
ensure that all the descriptors are freed before velocity_rx_refill()
is used in velocity_change_mtu(). The patch resets the Rx descriptors
in velocity_free_rd_ring().

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

No differences found