aboutsummaryrefslogtreecommitdiffstats
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
commit02e6f81d6ad8190206f13c60c241a3b612558360 (patch)
tree1b388ca27613956c50ec709f9458be81b9c75c1f
parente3849d40c3a739b8da7222e17114fa7f955b56d6 (diff)
downloadupstream-02e6f81d6ad8190206f13c60c241a3b612558360.tar.gz
upstream-02e6f81d6ad8190206f13c60c241a3b612558360.tar.bz2
upstream-02e6f81d6ad8190206f13c60c241a3b612558360.zip
kernel: fix netfilter layer7 compilation in 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30026 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 92de1cc1ba..fe74ae7f51 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
+}
+