Ignore:
Timestamp:
2010-04-11T20:15:15+02:00 (6 years ago)
Author:
florian
Message:

[kernel] refresh 2.6.33 patches for 2.6.33.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/patches-2.6.33/110-netfilter_match_speedup.patch

    r20552 r20803  
    128128                e = (struct ipt_entry *)(loc_cpu_entry + off); 
    129129                if (copy_to_user(userptr + off 
    130 @@ -1002,6 +1042,14 @@ copy_entries_to_user(unsigned int total_ 
     130@@ -1001,6 +1041,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.