File fix-leap-15_6.patch of Package vmware-host-modules

--- a/vmnet-only/bridge.c
+++ b/vmnet-only/bridge.c
@@ -26,7 +26,9 @@
 #include <linux/slab.h>
 #include <linux/poll.h>
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 10)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 10) || \
+    (defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && \
+     defined(CONFIG_SUSE_PATCHLEVEL) && CONFIG_SUSE_PATCHLEVEL >= 6)
 #include <net/gso.h>
 #endif
 #include <linux/netdevice.h>
openSUSE Build Service is sponsored by