[PATCH] 2.4.4 breaks VMware

From: tpepper@vato.org
Date: Tue May 01 2001 - 20:42:40 EST


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/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:11 EST