From: Jonas Gorski Date: Sat, 4 Feb 2012 10:17:14 +0000 (+0000) Subject: kernel: fix netfilter layer7 compilation in 3.3 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aa4896a649426a852ea3de20540a2cb83881e402;p=openwrt%2Fsvn-archive%2Farchive.git kernel: fix netfilter layer7 compilation in 3.3 SVN-Revision: 30026 --- 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 +} +