summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-02-04 10:17:14 +0000
committerJonas Gorski <jogo@openwrt.org>2012-02-04 10:17:14 +0000
commit49874a57f1db8f9bc74171935676c72ad5cef830 (patch)
treee922dae9aad39ed695724134ce395d598b603ee2 /target/linux/generic
parentd6afe712abeef60e65fe6a5fb64c9a502a53cede (diff)
downloadmtk-20170518-49874a57f1db8f9bc74171935676c72ad5cef830.zip
mtk-20170518-49874a57f1db8f9bc74171935676c72ad5cef830.tar.gz
mtk-20170518-49874a57f1db8f9bc74171935676c72ad5cef830.tar.bz2
kernel: fix netfilter layer7 compilation in 3.3
SVN-Revision: 30026
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch b/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
index 92de1cc..fe74ae7 100644
--- a/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
+++ b/target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch
@@ -118,7 +118,7 @@
+ acct = nf_conn_acct_find(ct);
+ if (!acct)
+ return 0;
-+ return (atomic64_read(acct[IP_CT_DIR_ORIGINAL].packets) + atomic64_read(acct[IP_CT_DIR_REPLY].packets));
++ return (atomic64_read(&acct[IP_CT_DIR_ORIGINAL].packets) + atomic64_read(&acct[IP_CT_DIR_REPLY].packets));
+#endif
+}
+