Hnyman, thank you for pointing in the right direction.
With this post and the following post I was able to update build Chaos Calmer 15.05.1 r49404 to kernel 3.18.41:
https://forum.openwrt.org/viewtopic.php?id=67420
If someone wants to upgrade their own build, I figured out that in kernel 3.18.41 a lot of things changed with netfilter and that patch "610-netfilter_match_bypass_default_checks.patch" in the /target/linux/generic/patches-3.18 folder needed to be changed.
I changed: include/kernel-version.mk
Increased the version number and changed the md5sum.
And in the "610-netfilter_match_bypass_default_checks.patch" in the /target/linux/generic/patches-3.18 folder I removed the following because the IP_TABLE.C file changed in the 3.18.41 Kernel and is not used anymore:
@@ -565,7 +591,7 @@ static void cleanup_match(struct xt_entr
}
static int
-check_entry(const struct ipt_entry *e, const char *name)
+check_entry(struct ipt_entry *e, const char *name)
{
const struct xt_entry_target *t;
@@ -574,6 +600,8 @@ check_entry(const struct ipt_entry *e, c
return -EINVAL;
}
+ ip_checkdefault(&e->ip);
+
if (e->target_offset + sizeof(struct xt_entry_target) >
e->next_offset)
return -EINVAL;
(Last edited by bladeoner on 18 Sep 2016, 16:53)