]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/xen-3.0.4-layer7-fix.patch
Erster Xen-Kernel zum testen...
[people/pmueller/ipfire-2.x.git] / src / patches / xen-3.0.4-layer7-fix.patch
1 --- ipt_layer7.c~ 2007-05-25 13:57:38.000000000 +0200
2 +++ ipt_layer7.c 2007-05-25 13:58:43.000000000 +0200
3 @@ -368,13 +368,13 @@
4 return (pattern_result ^ info->invert);
5 }
6
7 - if(skb_is_nonlinear(skb)){
8 - if(skb_linearize(skb, GFP_ATOMIC) != 0){
9 +// if(skb_is_nonlinear(skb)){
10 + if(skb_linearize(skb/*, GFP_ATOMIC */) != 0){
11 if (net_ratelimit())
12 printk(KERN_ERR "layer7: failed to linearize packet, bailing.\n");
13 return info->invert;
14 }
15 - }
16 +// }
17
18 /* now that the skb is linearized, it's safe to set these. */
19 app_data = skb->data + app_data_offset(skb);