diff options
author | Zhang Chen <zhangchen.fnst@cn.fujitsu.com> | 2017-07-04 14:53:50 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-07-17 20:13:48 +0800 |
commit | ada1a33f9a690b95d32115b38b88a33cb66c83bd (patch) | |
tree | 791f16e563bca412faabee8dea8151d1eb25aacd /net/filter-rewriter.c | |
parent | 00d5c2406bceb2eb5b77b47948311bf3ef8653a7 (diff) |
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>
Diffstat (limited to 'net/filter-rewriter.c')
-rw-r--r-- | net/filter-rewriter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/filter-rewriter.c b/net/filter-rewriter.c index afa06e8919..63256c72a0 100644 --- a/net/filter-rewriter.c +++ b/net/filter-rewriter.c @@ -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); /* |