Ignore:
Timestamp:
2011-11-13T18:21:07+01:00 (5 years ago)
Author:
florian
Message:

refresh 2.6.30 patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/generic-2.6/patches-2.6.30/110-netfilter_match_speedup.patch

    r20552 r29023  
    128128                e = (struct ipt_entry *)(loc_cpu_entry + off); 
    129129                if (copy_to_user(userptr + off 
    130 @@ -986,6 +1026,14 @@ copy_entries_to_user(unsigned int total_ 
     130@@ -985,6 +1025,14 @@ copy_entries_to_user(unsigned int total_ 
     131                        ret = -EFAULT; 
    131132                        goto free_counters; 
    132133                } 
    133   
     134+ 
    134135+               flags = e->ip.flags & ~IPT_F_NO_DEF_MATCH; 
    135136+               if (copy_to_user(userptr + off 
     
    139140+                       goto free_counters; 
    140141+               } 
    141 + 
     142  
    142143                for (i = sizeof(struct ipt_entry); 
    143144                     i < e->target_offset; 
    144                      i += m->u.match_size) { 
Note: See TracChangeset for help on using the changeset viewer.