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

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

SVN-Revision: 42093
master
Jo-Philipp Wich 11 years ago
parent 56be9f4a9a
commit f1b40f9304
  1. 2
      target/linux/generic/patches-3.13/604-netfilter_conntrack_flush.patch
  2. 2
      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;
+}

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

Loading…
Cancel
Save