lkml.org 
[lkml]   [2001]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH] 2.4.4 breaks VMware
    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/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:6.217 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site