errors.
This patch calls eth_pad_short_frame() to add padding, as in net/tap.c
and net/slirp.c. Thanks to Bin Meng and Philippe Mathieu-Daudé for
reviewing an earlier version.
Signed-off-by: William Hooper
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2058
---
net/vmnet-common.m | 22 +
On Mon, Jan 8, 2024 at 7:36 AM Philippe Mathieu-Daudé wrote:
> Don't we want to initialize min_pktsz here ...
>
>min_pktsz = sizeof(min_pkt);
>
> > +if (eth_pad_short_frame(min_pkt, &min_pktsz, pkt, pktsz)) {
>
> ... because eth_pad_short_frame() update it?
Thanks for
errors.
This patch calls eth_pad_short_frame() to add padding, as in net/tap.c
and net/slirp.c.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2058
Signed-off-by: William Hooper
---
net/vmnet-common.m | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/net/v