From 00547485148b6685f74e1a56cbc530142b153baa Mon Sep 17 00:00:00 2001 From: jogo Date: Sat, 4 Feb 2012 10:17:14 +0000 Subject: [PATCH] kernel: fix netfilter layer7 compilation in 3.3 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30026 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 92de1cc1b..fe74ae7f5 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 +} +