kernel: fix compile error in 3.12
authorLuka Perkov <luka@openwrt.org>
Sun, 27 Oct 2013 20:47:04 +0000 (20:47 +0000)
committerLuka Perkov <luka@openwrt.org>
Sun, 27 Oct 2013 20:47:04 +0000 (20:47 +0000)
Upstream commit c655bc6896b94ee0223393f26155c6daf1e2d148 changed number of
arguments in nf_ct_iterate_cleanup() function.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38547

target/linux/generic/patches-3.12/604-netfilter_conntrack_flush.patch

index ecd46b6a2b04405206ec884fb3260187e31934ad..984aed0e41e7e0fbe5d6ad31c6a4627527218331 100644 (file)
@@ -22,7 +22,7 @@
 +                      return -EFAULT;
 +
 +              if (c == 'f')
-+                      nf_ct_iterate_cleanup(net, kill_all, NULL);
++                      nf_ct_iterate_cleanup(net, kill_all, NULL, 0, 0);
 +      }
 +      return count;
 +}