[Bridge] [RELEASE] ebtables-brnf-3-vs-2.4.22 and ebtables-2-0-6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);



[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux