gso: zero-initialize gho struct 24/35724/4
authorVladislav Grishenko <themiron@yandex-team.ru>
Sat, 20 Nov 2021 09:52:53 +0000 (14:52 +0500)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 31 Aug 2022 15:26:19 +0000 (15:26 +0000)
commit62fc78761c2a1e023f9483a54776cc66332ecacc
tree4178908d8c995f8eb8c5c239e9f985d8fbe28e36
parent6556a9944f291851a583e86ff7d8613e25c7f39e
gso: zero-initialize gho struct

It may contain garbage in debug builds resulting in wrong
gho detected flags and offsets.

Type: fix
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>
Change-Id: Ia79633262185016f527e7dc6c67334cda6f055f2
src/vnet/devices/virtio/device.c
src/vnet/gso/node.c