Re: [PATCH] 2.4.4 breaks VMware

David S. Miller (davem@redhat.com)
Tue, 1 May 2001 18:52:16 -0700 (PDT)


tpepper@vato.org writes:
> --- 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);
> +}

No, the equivalent is &skb_shinfo(skb)->dataref

Later,
David S. Miller
davem@redhat.com
-
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/