summaryrefslogtreecommitdiff
path: root/include/linux/virtio_net.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-10-27 11:45:48 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-10-27 11:45:48 +0300
commit96fbc8050d0f8d208dfd807aa0137082f1e07ff2 (patch)
treeef09b17b363ac9544dd932e995a4b90ff494fb73 /include/linux/virtio_net.h
parent897396b418d1720aac39585b208aada708b5b433 (diff)
parentdcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa (diff)
downloadlinux-96fbc8050d0f8d208dfd807aa0137082f1e07ff2.tar.xz
Merge tag 'v6.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into gpio/for-next
Linux 6.18-rc3
Diffstat (limited to 'include/linux/virtio_net.h')
-rw-r--r--include/linux/virtio_net.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h
index 20e0584db1dd..4d1780848d0e 100644
--- a/include/linux/virtio_net.h
+++ b/include/linux/virtio_net.h
@@ -401,6 +401,10 @@ virtio_net_hdr_tnl_from_skb(const struct sk_buff *skb,
if (!tnl_hdr_negotiated)
return -EINVAL;
+ vhdr->hash_hdr.hash_value = 0;
+ vhdr->hash_hdr.hash_report = 0;
+ vhdr->hash_hdr.padding = 0;
+
/* Let the basic parsing deal with plain GSO features. */
skb_shinfo(skb)->gso_type &= ~tnl_gso_type;
ret = virtio_net_hdr_from_skb(skb, hdr, true, false, vlan_hlen);