[PATCH] 2.4.4 breaks VMware

tpepper@vato.org
Tue, 1 May 2001 18:42:40 -0700


Despite VMware's webpage claiming compatibility issues with 2.4.x kernels I'd
been using it without any problem until I upgraded to 2.4.4. I couldn't use
their precompiled modules of course but compiling to match the running kernel
worked fine previously.

This patch replaces a wee bit of code vmware wanted in include/linux/skbuff.h
although I'm guessing it was removed for a reason and vmware should be patched
to use the new method.

--- skbuff.h.orig Tue May 1 18:41:50 2001
+++ skbuff.h Tue May 1 18:41:55 2001
@@ -244,6 +244,11 @@

/* Internal */
#define skb_shinfo(SKB) ((struct skb_shared_info *)((SKB)->end))
+/* for vmware */
+static inline atomic_t *skb_datarefp(struct sk_buff *skb)
+{
+ return (atomic_t *)(skb->end);
+}

/**
* skb_queue_empty - check if a queue is empty

Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/