From f1b40f93040af6940687b70d233909f333f7169a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 10 Aug 2014 09:21:14 +0000 Subject: [PATCH] netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13 Signed-off-by: Jo-Philipp Wich SVN-Revision: 42093 --- .../generic/patches-3.13/604-netfilter_conntrack_flush.patch | 2 +- .../generic/patches-3.14/604-netfilter_conntrack_flush.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; +} -- 2.30.2