diff options
author | Ting-Yu Wang <anivia@google.com> | 2021-05-12 14:09:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-12 14:12:38 -0700 |
commit | ba6de21539131bbf8116137704259e4d11d2894b (patch) | |
tree | d407e9e121c743505cf8833db4fc0c36ef69d9fe /pkg/sentry/vfs/device.go | |
parent | 07e32fa6967370ef29327417fd941c5130335fbc (diff) |
Fix not calling decRef on merged segments
This code path is for outgoing packets, and we don't currently do memory
accounting on this path. So it wasn't breaking anything.
This change did not add a test for ref-counting issue fixed, but will switch to
the leak-checking ref-counter later when all ref-counting issues are fixed.
PiperOrigin-RevId: 373447913
Diffstat (limited to 'pkg/sentry/vfs/device.go')
0 files changed, 0 insertions, 0 deletions