netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42093 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jo-Philipp Wich
2014-08-10 09:21:14 +00:00
parent 44ffcf4d4e
commit 47f73ebe7b
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
+}

View File

@@ -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;
+}