mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
sys_pipe: consistently use cr_ruidinfo for accounting of pipebuf
(cherry picked from commit a52b30ff98cdab82af140285fa7fcdf1036fef27)
This commit is contained in:
parent
a8c663bb42
commit
c15b2e046e
1 changed files with 1 additions and 1 deletions
|
|
@ -1678,7 +1678,7 @@ pipe_free_kmem(struct pipe *cpipe)
|
|||
|
||||
if (cpipe->pipe_buffer.buffer != NULL) {
|
||||
atomic_subtract_long(&amountpipekva, cpipe->pipe_buffer.size);
|
||||
chgpipecnt(cpipe->pipe_pair->pp_owner->cr_uidinfo,
|
||||
chgpipecnt(cpipe->pipe_pair->pp_owner->cr_ruidinfo,
|
||||
-cpipe->pipe_buffer.size, 0);
|
||||
vm_map_remove(pipe_map,
|
||||
(vm_offset_t)cpipe->pipe_buffer.buffer,
|
||||
|
|
|
|||
Loading…
Reference in a new issue