mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 09:16:16 +02:00
kernel: fix netfilter layer7 compilation in 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30026 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f4e4e8cad9
commit
0054748514
@ -118,7 +118,7 @@
|
|||||||
+ acct = nf_conn_acct_find(ct);
|
+ acct = nf_conn_acct_find(ct);
|
||||||
+ if (!acct)
|
+ if (!acct)
|
||||||
+ return 0;
|
+ 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
|
+#endif
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user