diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-01-06 16:04:19 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-06 16:21:31 -0800 |
commit | 8dfd92284016f7c719b5766506cf3d6ab9c39c0e (patch) | |
tree | 56cc471f480c4d16cc5b082d686651f2df70f33c /pkg/sentry/hostcpu | |
parent | 17c18241cdeb66e75738c3892730f1a434a4bd60 (diff) |
Pass the NIC-internal name to the NIC name function when generating opaque IIDs
Pass the NIC-internal name to the NIC name function when generating opaque IIDs
so implementations can use the name that was provided when the NIC was created.
Previously, explicit NICID to NIC name resolution was required from the netstack
integrator.
Tests: Test that the name provided when creating a NIC is passed to the NIC name
function when generating opaque IIDs.
PiperOrigin-RevId: 288395359
Diffstat (limited to 'pkg/sentry/hostcpu')
0 files changed, 0 insertions, 0 deletions