summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/9p-util.h
diff options
context:
space:
mode:
authorSjors Gielen2017-05-24 19:51:12 +0200
committerSamuel Thibault2017-05-27 23:35:00 +0200
commit2e30230aa95a2d6cfaadac015bd96c3db19c45e4 (patch)
tree0cedced68b51179583808ccdd6cc5e289886c35f /hw/9pfs/9p-util.h
parentslirp: fix leak (diff)
downloadqemu-2e30230aa95a2d6cfaadac015bd96c3db19c45e4.tar.gz
qemu-2e30230aa95a2d6cfaadac015bd96c3db19c45e4.tar.xz
qemu-2e30230aa95a2d6cfaadac015bd96c3db19c45e4.zip
Fix total IP header length in forwarded TCP packets
When forwarding TCP packets, the internal tcpiphdr struct length was wrongly used inside the IP header. This commit changes the behaviour to what is used by tcp_output.c, using the correct full IP header + payload length. Signed-off-by: Sjors Gielen <sjors@sjorsgielen.nl> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'hw/9pfs/9p-util.h')
0 files changed, 0 insertions, 0 deletions