mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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:
@@ -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;
|
||||
+}
|
||||
|
||||
Reference in New Issue
Block a user