diff options
author | Chris Kuiper <ckuiper@google.com> | 2019-08-16 15:57:46 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-16 15:58:58 -0700 |
commit | f7114e0a27db788af512af8678595954996bcd7f (patch) | |
tree | c1163907b9e5a39f850fd5c64f523404851de17f /pkg/sentry/kernel/task_stop.go | |
parent | d60d99cb61b4df812c128ffcdbc037e34cb055a0 (diff) |
Add subnet checking to NIC.findEndpoint and consolidate with NIC.getRef
This adds the same logic to NIC.findEndpoint that is already done in
NIC.getRef. Since this makes the two functions very similar they were combined
into one with the originals being wrappers.
PiperOrigin-RevId: 263864708
Diffstat (limited to 'pkg/sentry/kernel/task_stop.go')
0 files changed, 0 insertions, 0 deletions