netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 10 Aug 2014 09:21:14 +0000 (09:21 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 10 Aug 2014 09:21:14 +0000 (09:21 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42093

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

index 1b5e2abbec9f4b01bb415f987a7022b86c83f258..a115e1c3f025e2535b31de0c8e32c0f5fc485d40 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 1b5e2abbec9f4b01bb415f987a7022b86c83f258..a115e1c3f025e2535b31de0c8e32c0f5fc485d40 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;
 +}