]> git.proxmox.com Git - mirror_qemu.git/commit - hw/net/net_tx_pkt.h
hw/net: Added plen fix for IPv6
authorAndrew <andrew@daynix.com>
Thu, 16 Jul 2020 03:53:24 +0000 (06:53 +0300)
committerJason Wang <jasowang@redhat.com>
Tue, 21 Jul 2020 13:30:39 +0000 (21:30 +0800)
commite219d30910d8584868dd5c11df10ba2a1336034c
tree374e0bf6159413760dd2e5679fffbdf7bee01ac8
parent90218a9a393c7925f330e7dcc08658e2a01d3bd4
hw/net: Added plen fix for IPv6

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1708065
With network backend with 'virtual header' - there was an issue
in 'plen' field. Overall, during TSO, 'plen' would be changed,
but with 'vheader' this field should be set to the size of the
payload itself instead of '0'.

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/net_tx_pkt.c
hw/net/net_tx_pkt.h
include/net/eth.h