google / google/gvisor

Unnecessary packet copies in several network paths.

Open
#4,399 7 comments 0 reactions 0 assignees View on GitHub
revived
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

In several packet flows a packet is copied in the off chance that it may be given to a raw or "packet" socket.
The copies should be deferred until it is certain that it is needed.

Examples include at the top of the ICMP echo code where the dispatcher is called and a copy made whether or not there was a socket that took the packet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.