Skip to content
Commit b3c3e7d7 authored by Francois Romieu's avatar Francois Romieu
Browse files

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: default avatarFrancois Romieu <romieu@fr.zoreil.com>
parent de5f503c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment