mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
net/colo.c: Make vnet_hdr_len as packet property
We can use this property flush and send packet with vnet_hdr_len. Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
@ -158,7 +158,7 @@ static ssize_t colo_rewriter_receive_iov(NetFilterState *nf,
|
||||
char *buf = g_malloc0(size);
|
||||
|
||||
iov_to_buf(iov, iovcnt, 0, buf, size);
|
||||
pkt = packet_new(buf, size);
|
||||
pkt = packet_new(buf, size, 0);
|
||||
g_free(buf);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user