summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/transport_demuxer.go
diff options
context:
space:
mode:
authorBruno Dal Bo <brunodalbo@google.com>2020-06-22 10:30:21 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-22 10:31:45 -0700
commit282a6aea1b375d447fdf502c6660e92eb5e19cd4 (patch)
tree3c90df2c74369144427c289b3e3b320956e7b52d /pkg/tcpip/stack/transport_demuxer.go
parenta480b4faf4befb029bf905fdb604996c8312a6a2 (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/tcpip/stack/transport_demuxer.go')
0 files changed, 0 insertions, 0 deletions