** Reply to message from "Rafael E. Herrera"
------------------------------------------------------------------------ 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), \
-- Rafael
I know nothing about patching, but I would like to be able to use 2.4.4 for the VIA Southbridge fix and still be able to use vmware (see signature). Do I manually add this code to the .h file? Thanks in advance. Ed Harrison broadcasting on ----/ / _ ---/ / (_)__ __ ____ __ --/ /__/ / _ \/ // /\ \/ / -/____/_/_//_/\_,_/ /_/\_\ by SuSE(6.4), Kernel 2.4.2, X 4.0.3 or Warp 4, FP12 or Windows98 (running in vmware 2.0.3 for fun) PolarBarMailer 1.1.19a with IBM JDK 1.1.8