diff options
author | Michael LeBeane <michael.lebeane@amd.com> | 2016-11-29 13:04:45 -0500 |
---|---|---|
committer | Michael LeBeane <michael.lebeane@amd.com> | 2016-11-29 13:04:45 -0500 |
commit | cd4b26b6ae984a75e16f4d71152d99b6c063d366 (patch) | |
tree | 33248f61326415ea11ff30dce527ed8fa5121231 /util | |
parent | 4b7bc5b1e1915915a746af16d36de1d006db8700 (diff) | |
download | gem5-cd4b26b6ae984a75e16f4d71152d99b6c063d366.tar.xz |
dev: Fix buffer length when unserializing an eth pkt
Changeset 11701 only serialized the useful portion of of an ethernet packets'
payload. However, the device models expect each ethernet packet to contain
a 16KB buffer, even if there is no data in it. This patch adds a 'bufLength'
field to EthPacketData so the original size of the packet buffer can always
be unserialized.
Reported-by: Gabor Dozsa <Gabor.Dozsa@arm.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions