]> Git Repo - qemu.git/commit
net/cadence_gem: Fix rx multi-fragment packets
authorPeter Crosthwaite <[email protected]>
Wed, 4 Dec 2013 05:59:43 +0000 (21:59 -0800)
committerPeter Maydell <[email protected]>
Tue, 10 Dec 2013 13:28:50 +0000 (13:28 +0000)
commit305706980267dae191d0fca2c769d7a31011be14
tree2594ecd4cc67161d8c66754fcf90b0305b0d9514
parent17cf2c76b684b679cb25fcb4a36d536ba9944d4d
net/cadence_gem: Fix rx multi-fragment packets

Bytes_to_copy was being updated before its final use where it
advances the rx buffer pointer. This was causing total mayhem,
where packet data for any subsequent fragments was being fetched
from the wrong place.

Reported-by: Deepika Dhamija <[email protected]>
Signed-off-by: Peter Crosthwaite <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Message-id: c2a1c65c1fd06eb274442a0fa4a6839d940e145e.1386136219[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/net/cadence_gem.c
This page took 0.024011 seconds and 4 git commands to generate.