diff options
author | Zhang Chen <chen.zhang@intel.com> | 2022-08-22 16:14:36 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2022-09-02 10:22:39 +0800 |
commit | 3772cf0d1b37d32e61dc314e9cc18ff745327ddd (patch) | |
tree | eca63bc9c34b05e6466854bf76f033961ff3a6ce /backends/hostmem-epc.c | |
parent | 0e3fdcffead7c651ce06ab50cffb89e806f04e2b (diff) |
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 'backends/hostmem-epc.c')
0 files changed, 0 insertions, 0 deletions