netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 Aug 2014 09:21:14 +0000 (09:21 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 10 Aug 2014 09:21:14 +0000 (09:21 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42093 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic/patches-3.13/604-netfilter_conntrack_flush.patch
target/linux/generic/patches-3.14/604-netfilter_conntrack_flush.patch

index 1b5e2ab..a115e1c 100644 (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;
 +}
index 1b5e2ab..a115e1c 100644 (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;
 +}