diff options
author | Sam Balana <sbalana@google.com> | 2020-08-07 15:05:13 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-07 15:07:33 -0700 |
commit | 94447aeab3d20400680f624e4b84e7b6fc0aae0b (patch) | |
tree | a5bf484d780ae3ce8b66406ebf1f6dba20d9c2f4 /benchmarks/workloads/ruby/index.rb | |
parent | 7b9bfc0ce094b0fd0cb3beec665a7b64c4ec552e (diff) |
Fix panic during Address Resolution of neighbor entry created by NS
When a Neighbor Solicitation is received, a neighbor entry is created with the
remote host's link layer address, but without a link layer address resolver. If
the host decides to send a packet addressed to the IP address of that neighbor
entry, Address Resolution starts with a nil pointer to the link layer address
resolver. This causes the netstack to panic and crash.
This change ensures that when a packet is sent in that situation, the link
layer address resolver will be set before Address Resolution begins.
Tests:
pkg/tcpip/stack:stack_test
+ TestEntryUnknownToStaleToProbeToReachable
- TestNeighborCacheEntryNoLinkAddress
Updates #1889
Updates #1894
Updates #1895
Updates #1947
Updates #1948
Updates #1949
Updates #1950
PiperOrigin-RevId: 325516471
Diffstat (limited to 'benchmarks/workloads/ruby/index.rb')
0 files changed, 0 insertions, 0 deletions