mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-10 17:28:26 +02:00
Xen-Support vorruebergehend wieder entfernt, da die Entwickler keine Reaktion zeigen.
Vielleicht wirds ja was im naechsten Release. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@668 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,19 +0,0 @@
|
||||
--- ipt_layer7.c~ 2007-05-25 13:57:38.000000000 +0200
|
||||
+++ ipt_layer7.c 2007-05-25 13:58:43.000000000 +0200
|
||||
@@ -368,13 +368,13 @@
|
||||
return (pattern_result ^ info->invert);
|
||||
}
|
||||
|
||||
- if(skb_is_nonlinear(skb)){
|
||||
- if(skb_linearize(skb, GFP_ATOMIC) != 0){
|
||||
+// if(skb_is_nonlinear(skb)){
|
||||
+ if(skb_linearize(skb/*, GFP_ATOMIC */) != 0){
|
||||
if (net_ratelimit())
|
||||
printk(KERN_ERR "layer7: failed to linearize packet, bailing.\n");
|
||||
return info->invert;
|
||||
}
|
||||
- }
|
||||
+// }
|
||||
|
||||
/* now that the skb is linearized, it's safe to set these. */
|
||||
app_data = skb->data + app_data_offset(skb);
|
||||
@@ -1,13 +0,0 @@
|
||||
--- ipt_REJECT.c~ 2007-05-25 13:59:33.000000000 +0200
|
||||
+++ ipt_REJECT.c 2007-05-25 13:00:17.000000000 +0200
|
||||
@@ -159,8 +159,8 @@
|
||||
nskb->nf_bridge = NULL;
|
||||
#endif
|
||||
|
||||
- skb_shinfo(nskb)->tso_size = 0;
|
||||
- skb_shinfo(nskb)->tso_segs = 0;
|
||||
+ skb_shinfo(nskb)->gso_size = 0;
|
||||
+ skb_shinfo(nskb)->gso_segs = 0;
|
||||
|
||||
tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl);
|
||||
|
||||
Reference in New Issue
Block a user