mr->mr_ops->route_stats(mlxsw_sp, mr_route->route_priv, &packets,
                                &bytes);
 
-       if (mr_route->mfc->mfc_un.res.pkt != packets)
-               mr_route->mfc->mfc_un.res.lastuse = jiffies;
-       mr_route->mfc->mfc_un.res.pkt = packets;
-       mr_route->mfc->mfc_un.res.bytes = bytes;
+       if (atomic_long_read(&mr_route->mfc->mfc_un.res.pkt) != packets)
+               WRITE_ONCE(mr_route->mfc->mfc_un.res.lastuse, jiffies);
+       atomic_long_set(&mr_route->mfc->mfc_un.res.pkt, packets);
+       atomic_long_set(&mr_route->mfc->mfc_un.res.bytes, bytes);
 }
 
 static void mlxsw_sp_mr_stats_update(struct work_struct *work)
 
                        unsigned long last_assert;
                        int minvif;
                        int maxvif;
-                       unsigned long bytes;
-                       unsigned long pkt;
-                       unsigned long wrong_if;
+                       atomic_long_t bytes;
+                       atomic_long_t pkt;
+                       atomic_long_t wrong_if;
                        unsigned long lastuse;
                        unsigned char ttls[MAXVIFS];
                        refcount_t refcount;
 
                                cache->mfc_un.res.maxvif = vifi + 1;
                }
        }
-       cache->mfc_un.res.lastuse = jiffies;
+       WRITE_ONCE(cache->mfc_un.res.lastuse, jiffies);
 }
 
 static int vif_add(struct net *net, struct mr_table *mrt,
                rcu_read_lock();
                c = ipmr_cache_find(mrt, sr->src.s_addr, sr->grp.s_addr);
                if (c) {
-                       sr->pktcnt = c->_c.mfc_un.res.pkt;
-                       sr->bytecnt = c->_c.mfc_un.res.bytes;
-                       sr->wrong_if = c->_c.mfc_un.res.wrong_if;
+                       sr->pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt);
+                       sr->bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes);
+                       sr->wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if);
                        rcu_read_unlock();
                        return 0;
                }
                rcu_read_lock();
                c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr);
                if (c) {
-                       sr.pktcnt = c->_c.mfc_un.res.pkt;
-                       sr.bytecnt = c->_c.mfc_un.res.bytes;
-                       sr.wrong_if = c->_c.mfc_un.res.wrong_if;
+                       sr.pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt);
+                       sr.bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes);
+                       sr.wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if);
                        rcu_read_unlock();
 
                        if (copy_to_user(arg, &sr, sizeof(sr)))
        int vif, ct;
 
        vif = c->_c.mfc_parent;
-       c->_c.mfc_un.res.pkt++;
-       c->_c.mfc_un.res.bytes += skb->len;
-       c->_c.mfc_un.res.lastuse = jiffies;
+       atomic_long_inc(&c->_c.mfc_un.res.pkt);
+       atomic_long_add(skb->len, &c->_c.mfc_un.res.bytes);
+       WRITE_ONCE(c->_c.mfc_un.res.lastuse, jiffies);
 
        if (c->mfc_origin == htonl(INADDR_ANY) && true_vifi >= 0) {
                struct mfc_cache *cache_proxy;
                        goto dont_forward;
                }
 
-               c->_c.mfc_un.res.wrong_if++;
+               atomic_long_inc(&c->_c.mfc_un.res.wrong_if);
 
                if (true_vifi >= 0 && mrt->mroute_do_assert &&
                    /* pimsm uses asserts, when switching from RPT to SPT,
 
                if (it->cache != &mrt->mfc_unres_queue) {
                        seq_printf(seq, " %8lu %8lu %8lu",
-                                  mfc->_c.mfc_un.res.pkt,
-                                  mfc->_c.mfc_un.res.bytes,
-                                  mfc->_c.mfc_un.res.wrong_if);
+                                  atomic_long_read(&mfc->_c.mfc_un.res.pkt),
+                                  atomic_long_read(&mfc->_c.mfc_un.res.bytes),
+                                  atomic_long_read(&mfc->_c.mfc_un.res.wrong_if));
                        for (n = mfc->_c.mfc_un.res.minvif;
                             n < mfc->_c.mfc_un.res.maxvif; n++) {
                                if (VIF_EXISTS(mrt, n) &&
 
        lastuse = READ_ONCE(c->mfc_un.res.lastuse);
        lastuse = time_after_eq(jiffies, lastuse) ? jiffies - lastuse : 0;
 
-       mfcs.mfcs_packets = c->mfc_un.res.pkt;
-       mfcs.mfcs_bytes = c->mfc_un.res.bytes;
-       mfcs.mfcs_wrong_if = c->mfc_un.res.wrong_if;
+       mfcs.mfcs_packets = atomic_long_read(&c->mfc_un.res.pkt);
+       mfcs.mfcs_bytes = atomic_long_read(&c->mfc_un.res.bytes);
+       mfcs.mfcs_wrong_if = atomic_long_read(&c->mfc_un.res.wrong_if);
        if (nla_put_64bit(skb, RTA_MFC_STATS, sizeof(mfcs), &mfcs, RTA_PAD) ||
            nla_put_u64_64bit(skb, RTA_EXPIRES, jiffies_to_clock_t(lastuse),
                              RTA_PAD))
 
 
                if (it->cache != &mrt->mfc_unres_queue) {
                        seq_printf(seq, " %8lu %8lu %8lu",
-                                  mfc->_c.mfc_un.res.pkt,
-                                  mfc->_c.mfc_un.res.bytes,
-                                  mfc->_c.mfc_un.res.wrong_if);
+                                  atomic_long_read(&mfc->_c.mfc_un.res.pkt),
+                                  atomic_long_read(&mfc->_c.mfc_un.res.bytes),
+                                  atomic_long_read(&mfc->_c.mfc_un.res.wrong_if));
                        for (n = mfc->_c.mfc_un.res.minvif;
                             n < mfc->_c.mfc_un.res.maxvif; n++) {
                                if (VIF_EXISTS(mrt, n) &&
                                cache->mfc_un.res.maxvif = vifi + 1;
                }
        }
-       cache->mfc_un.res.lastuse = jiffies;
+       WRITE_ONCE(cache->mfc_un.res.lastuse, jiffies);
 }
 
 static int mif6_add(struct net *net, struct mr_table *mrt,
                c = ip6mr_cache_find(mrt, &sr->src.sin6_addr,
                                     &sr->grp.sin6_addr);
                if (c) {
-                       sr->pktcnt = c->_c.mfc_un.res.pkt;
-                       sr->bytecnt = c->_c.mfc_un.res.bytes;
-                       sr->wrong_if = c->_c.mfc_un.res.wrong_if;
+                       sr->pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt);
+                       sr->bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes);
+                       sr->wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if);
                        rcu_read_unlock();
                        return 0;
                }
                rcu_read_lock();
                c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr);
                if (c) {
-                       sr.pktcnt = c->_c.mfc_un.res.pkt;
-                       sr.bytecnt = c->_c.mfc_un.res.bytes;
-                       sr.wrong_if = c->_c.mfc_un.res.wrong_if;
+                       sr.pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt);
+                       sr.bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes);
+                       sr.wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if);
                        rcu_read_unlock();
 
                        if (copy_to_user(arg, &sr, sizeof(sr)))
        int true_vifi = ip6mr_find_vif(mrt, dev);
 
        vif = c->_c.mfc_parent;
-       c->_c.mfc_un.res.pkt++;
-       c->_c.mfc_un.res.bytes += skb->len;
-       c->_c.mfc_un.res.lastuse = jiffies;
+       atomic_long_inc(&c->_c.mfc_un.res.pkt);
+       atomic_long_add(skb->len, &c->_c.mfc_un.res.bytes);
+       WRITE_ONCE(c->_c.mfc_un.res.lastuse, jiffies);
 
        if (ipv6_addr_any(&c->mf6c_origin) && true_vifi >= 0) {
                struct mfc6_cache *cache_proxy;
         * Wrong interface: drop packet and (maybe) send PIM assert.
         */
        if (rcu_access_pointer(mrt->vif_table[vif].dev) != dev) {
-               c->_c.mfc_un.res.wrong_if++;
+               atomic_long_inc(&c->_c.mfc_un.res.wrong_if);
 
                if (true_vifi >= 0 && mrt->mroute_do_assert &&
                    /* pimsm uses asserts, when switching from RPT to SPT,