Fix one more atomic for i86

Obtained from:	mtuexen@freebsd.org
This commit is contained in:
Randall Stewart 2019-08-02 11:17:07 +00:00
parent 09b361c792
commit 99c311c4d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350537

View File

@ -945,7 +945,7 @@ rt_setup_rate(struct inpcb *inp, struct ifnet *ifp, uint64_t bytes_per_sec,
* We use an atomic here for accounting so we don't have to
* use locks when freeing.
*/
atomic_add_long(&rs->rs_flows_using, 1);
atomic_add_64(&rs->rs_flows_using, 1);
}
epoch_exit_preempt(net_epoch_preempt, &et);
return (rte);