aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/8139cp.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-02-27 23:11:08 +0100
committerFrancois Romieu <romieu@fr.zoreil.com>2006-02-27 23:11:08 +0100
commitb3c3e7d7d9795df16012d5c60e5f789e7fade311 (patch)
tree7ad463d353263e765b302060da884a2eefb24173 /drivers/net/8139cp.c
parentde5f503cfbe4f942492269c6bd97a16a4d61e488 (diff)
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 <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/8139cp.c')
0 files changed, 0 insertions, 0 deletions