From: Francois Romieu Date: Mon, 27 Feb 2006 22:11:08 +0000 (+0100) Subject: via-velocity: fix memory corruption when changing the mtu X-Git-Tag: v2.6.16-rc6~140^2~2^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c3e7d7d9795df16012d5c60e5f789e7fade311;p=pandora-kernel.git via-velocity: fix memory corruption when changing the mtu 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 --- Reading git-diff-tree failed