parent
09b361c792
commit
99c311c4d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350537
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user