Changeset 762 for branches


Ignore:
Timestamp:
Jul 4, 2016, 11:18:58 PM (3 years ago)
Author:
ehem
Message:

Update for newer Debian kernel blob

Alas, some of the kernel source updates have been pretty complex and
cause issues like this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/debian/package-build/linux-patch-openwrt/patches-3.16/610-netfilter_match_bypass_default_checks.patch

    r668 r762  
    5151 ip_checkentry(const struct ipt_ip *ip)
    5252 {
    53 @@ -565,7 +591,7 @@ static void cleanup_match(struct xt_entr
    54  }
    55  
    56  static int
    57 -check_entry(const struct ipt_entry *e, const char *name)
    58 +check_entry(struct ipt_entry *e, const char *name)
    59  {
    60         const struct xt_entry_target *t;
    61  
    62 @@ -574,6 +600,8 @@ check_entry(const struct ipt_entry *e, c
     53@@ -733,6 +733,8 @@ check_entry_size_and_hooks(struct ipt_entry *e,
    6354                return -EINVAL;
    6455        }
     
    6657+       ip_checkdefault(&e->ip);
    6758+
    68         if (e->target_offset + sizeof(struct xt_entry_target) >
    69             e->next_offset)
    70                 return -EINVAL;
     59        if (e->next_offset
     60            < sizeof(struct ipt_entry) + sizeof(struct xt_entry_target)) {
     61                duprintf("checking: element %p size %u\n",
     62
    7163@@ -935,6 +963,7 @@ copy_entries_to_user(unsigned int total_
    7264        const struct xt_table_info *private = table->private;
Note: See TracChangeset for help on using the changeset viewer.