mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mohammad A. Haque" <mhaque@haque.net>
To: tpepper@vato.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.4 breaks VMware
Date: Tue, 01 May 2001 21:56:26 -0400	[thread overview]
Message-ID: <3AEF694A.6B1D7602@haque.net> (raw)
In-Reply-To: <20010501184240.A28442@cb.vato.org>

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

tpepper@vato.org wrote:
> 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.
> 

Better to patch vmware rather than the kernel. Here's a patch thet
should be applied to source files in
/usr/lib/vmware/modules/source/vmnet.tar


-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================

[-- Attachment #2: vmnet-skbuff.diff --]
[-- Type: text/plain, Size: 692 bytes --]

diff -urw vmnet-only/vnetInt.h vmnet-only-patched/vnetInt.h
--- vmnet-only/vnetInt.h	Wed Nov  1 20:48:28 2000
+++ vmnet-only-patched/vnetInt.h	Tue Apr 17 23:29:47 2001
@@ -16,9 +16,15 @@
 #  define KFREE_SKB(skb, type)		kfree_skb(skb)
 #  define DEV_KFREE_SKB(skb, type)	dev_kfree_skb(skb)
 #  define SKB_INCREF(skb)		atomic_inc(&(skb)->users)
+#  ifdef KERNEL_2_4_0
+#    define SKB_IS_CLONE_OF(clone, skb)    ( \
+         skb_cloned(clone) \
+     )
+#  else
 #  define SKB_IS_CLONE_OF(clone, skb)	( \
       skb_datarefp(clone) == skb_datarefp(skb) \
    )
+#  endif
 #  define SK_ALLOC(pri)			sk_alloc(0, pri, 1)
 #  define DEV_QUEUE_XMIT(skb, dev, pri)	( \
       (skb)->dev = (dev), \

  parent reply	other threads:[~2001-05-02  1:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-02  1:42 tpepper
2001-05-02  1:52 ` David S. Miller
2001-05-02  1:56 ` Mohammad A. Haque [this message]
2001-05-02  4:53   ` Bjoern A. Zeeb
2001-05-03  1:25     ` Gregory T. Norris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AEF694A.6B1D7602@haque.net \
    --to=mhaque@haque.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tpepper@vato.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®