Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: cadence_gem: Fix Tx descriptor update
The local variable "desc" was being used to read-modify-write the first descriptor (of a multi-desc packet) upon packet completion. desc however continues to be used by the code as the current descriptor. Give this first desc RMW it's own local variable to avoid trampling. Signed-off-by: Peter Crosthwaite <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
- Loading branch information