diff options
author | Bruno Dal Bo <brunodalbo@google.com> | 2020-06-22 10:30:21 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-22 10:31:45 -0700 |
commit | 282a6aea1b375d447fdf502c6660e92eb5e19cd4 (patch) | |
tree | 3c90df2c74369144427c289b3e3b320956e7b52d /pkg/buffer | |
parent | a480b4faf4befb029bf905fdb604996c8312a6a2 (diff) |
Extract common nested LinkEndpoint pattern
... and unify logic for detached netsted endpoints.
sniffer.go caused crashes if a packet delivery is attempted when the dispatcher
is nil.
Extracted the endpoint nesting logic into a common composable type so it can be
used by the Fuchsia Netstack (the pattern is widespread there).
PiperOrigin-RevId: 317682842
Diffstat (limited to 'pkg/buffer')
0 files changed, 0 insertions, 0 deletions