diff options
author | Zhang Chen | 2022-08-22 10:14:36 +0200 |
---|---|---|
committer | Jason Wang | 2022-09-02 04:22:39 +0200 |
commit | 3772cf0d1b37d32e61dc314e9cc18ff745327ddd (patch) | |
tree | eca63bc9c34b05e6466854bf76f033961ff3a6ce /linux-user/openrisc/target_resource.h | |
parent | vdpa: Delete CVQ migration blocker (diff) | |
download | qemu-3772cf0d1b37d32e61dc314e9cc18ff745327ddd.tar.gz qemu-3772cf0d1b37d32e61dc314e9cc18ff745327ddd.tar.xz qemu-3772cf0d1b37d32e61dc314e9cc18ff745327ddd.zip |
net/colo.c: Fix the pointer issue reported by Coverity.
When enabled the virtio-net-pci, guest network packet will
load the vnet_hdr. In COLO status, the primary VM's network
packet maybe redirect to another VM, it needs filter-redirect
enable the vnet_hdr flag at the same time, COLO-proxy will
correctly parse the original network packet. If have any
misconfiguration here, the vnet_hdr_len is wrong for parse
the packet, the data+offset will point to wrong place.
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'linux-user/openrisc/target_resource.h')
0 files changed, 0 insertions, 0 deletions