summaryrefslogtreecommitdiffstats
path: root/linux-user/mips/sockbits.h
diff options
context:
space:
mode:
authorZhang Chen2022-08-22 10:14:36 +0200
committerJason Wang2022-09-02 04:22:39 +0200
commit3772cf0d1b37d32e61dc314e9cc18ff745327ddd (patch)
treeeca63bc9c34b05e6466854bf76f033961ff3a6ce /linux-user/mips/sockbits.h
parentvdpa: Delete CVQ migration blocker (diff)
downloadqemu-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/mips/sockbits.h')
0 files changed, 0 insertions, 0 deletions