From: jow Date: Sun, 10 Aug 2014 09:21:14 +0000 (+0000) Subject: netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13 X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=f3b1ae5d1d0269090705743ef5cfe2030a024042;p=openwrt.git netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13 Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42093 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/generic/patches-3.13/604-netfilter_conntrack_flush.patch b/target/linux/generic/patches-3.13/604-netfilter_conntrack_flush.patch index 1b5e2abbec..a115e1c3f0 100644 --- a/target/linux/generic/patches-3.13/604-netfilter_conntrack_flush.patch +++ b/target/linux/generic/patches-3.13/604-netfilter_conntrack_flush.patch @@ -59,7 +59,7 @@ + return -EINVAL; + } + -+ nf_ct_iterate_cleanup(net, kill_matching, &kr); ++ nf_ct_iterate_cleanup(net, kill_matching, &kr, 0, 0); + + return count; +} diff --git a/target/linux/generic/patches-3.14/604-netfilter_conntrack_flush.patch b/target/linux/generic/patches-3.14/604-netfilter_conntrack_flush.patch index 1b5e2abbec..a115e1c3f0 100644 --- a/target/linux/generic/patches-3.14/604-netfilter_conntrack_flush.patch +++ b/target/linux/generic/patches-3.14/604-netfilter_conntrack_flush.patch @@ -59,7 +59,7 @@ + return -EINVAL; + } + -+ nf_ct_iterate_cleanup(net, kill_matching, &kr); ++ nf_ct_iterate_cleanup(net, kill_matching, &kr, 0, 0); + + return count; +}