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

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

SVN-Revision: 42093
This commit is contained in:
Jo-Philipp Wich 2014-08-10 09:21:14 +00:00
parent 56be9f4a9a
commit f1b40f9304
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@
+ return -EINVAL; + return -EINVAL;
+ } + }
+ +
+ nf_ct_iterate_cleanup(net, kill_matching, &kr); + nf_ct_iterate_cleanup(net, kill_matching, &kr, 0, 0);
+ +
+ return count; + return count;
+} +}

View file

@ -59,7 +59,7 @@
+ return -EINVAL; + return -EINVAL;
+ } + }
+ +
+ nf_ct_iterate_cleanup(net, kill_matching, &kr); + nf_ct_iterate_cleanup(net, kill_matching, &kr, 0, 0);
+ +
+ return count; + return count;
+} +}