kernel: fix netfilter layer7 compilation in 3.3
authorJonas Gorski <jogo@openwrt.org>
Sat, 4 Feb 2012 10:17:14 +0000 (10:17 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 4 Feb 2012 10:17:14 +0000 (10:17 +0000)
SVN-Revision: 30026

target/linux/generic/patches-3.3/600-netfilter_layer7_2.22.patch

index 92de1cc1bace246be72b2464f195e07304a4393e..fe74ae7f511d61a5f47bdc34720a30d786b6922a 100644 (file)
 +      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
 +}
 +