On Monday 03 November 2003 16:28, Scott MacKay wrote:
> Is there a way to indicate the changes performed for
> the userspace mangle bug?  Currently, I am a bit tied
> to 2.4.20 until a new round of kernel upgrades are
> allowed....

Dave's fix for 2.6 looks like this:

--- net/core/skbuff.c.~1~       Tue Oct 28 06:54:49 2003
+++ net/core/skbuff.c   Tue Oct 28 06:58:38 2003
@@ -591,8 +591,8 @@
        /* Set the tail pointer and length */
        skb_put(n, skb->len);
 
-       /* Copy the data only. */
-       if (skb_copy_bits(skb, 0, n->data, skb->len))
+       /* Copy the linear data and header. */
+       if (skb_copy_bits(skb, -newheadroom, n->head, newheadroom + skb->len))
                BUG();
 
        copy_skb_header(n, skb);

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://lists.osdl.org/mailman/listinfo/bridge

Reply via email to