summaryrefslogtreecommitdiffhomepage
path: root/g3doc
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-01-22 14:50:32 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-22 14:51:53 -0800
commit1d97adaa6d73dd897bb4e89d4533936a95003951 (patch)
treed5f6b80ca14f754a6628d442de636abb31d63d7f /g3doc
parent8a5bfd70011752ebac93540e83354bab11c63735 (diff)
Use embedded mutex pattern for stack.NIC
- Wrap NIC's fields that should only be accessed while holding the mutex in an anonymous struct with the embedded mutex. - Make sure NIC's spoofing and promiscuous mode flags are only read while holding the NIC's mutex. - Use the correct endpoint when sending DAD messages. - Do not hold the NIC's lock when sending DAD messages. This change does not introduce any behaviour changes. Tests: Existing tests continue to pass. PiperOrigin-RevId: 291036251
Diffstat (limited to 'g3doc')
0 files changed, 0 insertions, 0 deletions