[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-bridge
Subject: Re: [Bridge] [RELEASE] ebtables-brnf-3-vs-2.4.22 and ebtables-2-0-6
From: Bart De Schuymer <bdschuym () pandora ! be>
Date: 2003-11-03 21:54:43
[Download RAW message or body]
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
Bridge@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/bridge
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic