Searched hist:"6 ab57a6b" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/net/ |
H A D | cadence_gem.c | 6ab57a6b Mon May 26 08:37:47 GMT 2014 Peter Crosthwaite <peter.crosthwaite@xilinx.com> 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 <peter.crosthwaite@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|