diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-01-24 18:06:01 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-01-29 18:35:11 +0000 |
commit | a2c1951e56d94de573db6c6f13e3642df953b7e7 (patch) | |
tree | 88c8a0037cfc7e34f966dce721b82cea15eddb4b /src/vnet/format_fns.h | |
parent | fb15c0c0cf6db49ed7e16551bd90d785dc5fc650 (diff) |
devices: vhost: fix data offset on input
Regardless of whether the virtio_net_hdr is sent as a separate
descriptors or in the same descriptor as the data, we always want to
skip the header length - maybe moving to the next descriptor along the
way.
Type: fix
Change-Id: Iaa70aeb310e589639b20f8c7029aaa8d3ce5d307
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 5ecc1e4d433a34845c7bfd761dc990413e6c321b)
Diffstat (limited to 'src/vnet/format_fns.h')
0 files changed, 0 insertions, 0 deletions