- ipstat.ips_cantforward += ipf->ipf_errors + ipf->ipf_dropped;
- ipstat.ips_forward += ipf->ipf_uses;
- ipstat.ips_fastforward += ipf->ipf_uses;
+ OSAddAtomic(ipf->ipf_errors + ipf->ipf_dropped, (SInt32*)&ipstat.ips_cantforward);
+ OSAddAtomic(ipf->ipf_uses, (SInt32*)&ipstat.ips_forward);
+ OSAddAtomic(ipf->ipf_uses, (SInt32*)&ipstat.ips_fastforward);