diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-11-06 13:53:21 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-06 13:55:30 -0800 |
commit | 9e82747d62e57ee7498c8f3f54c313917891273a (patch) | |
tree | 731bedc71bce9ce3825f31b7f3efeb7c0e4bd363 /pkg/sentry/fsimpl/kernfs/mmap_util.go | |
parent | 949dc1d096aa9ac58c73cc861b95c8172d82dfcd (diff) |
Return early in walkSACK if segment has no SACK blocks.
This avoids a needless allocation.
Updates #231
PiperOrigin-RevId: 341113160
Diffstat (limited to 'pkg/sentry/fsimpl/kernfs/mmap_util.go')
0 files changed, 0 insertions, 0 deletions