On 08/31/2015 06:16 PM, Madalin Bucur wrote:
Address remaining issue after 80ec192.

Signed-off-by: Madalin Bucur <madalin.bu...@freescale.com>
---
  net/ipv4/af_inet.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index c2d0ebc..96773a2 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1496,7 +1496,7 @@ u64 snmp_fold_field64(void __percpu *mib, int offt, 
size_t syncp_offset)
        int cpu;

        for_each_possible_cpu(cpu) {
-               res += snmp_get_cpu_field(mib, cpu, offt, syncp_offset);
+               res += snmp_get_cpu_field64(mib, cpu, offt, syncp_offset);
        }
        return res;
  }


Thanks Madlin for catching this for 32bit.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to