Skip to content
This repository was archived by the owner on Apr 13, 2019. It is now read-only.

Copy source MTU when cloning ETH transport link #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Copy source MTU when cloning ETH transport link #13

wants to merge 1 commit into from

Conversation

greg80303
Copy link

When a connection is made to an ETH listener, a "clone" of the listener's data is made for the new transport link that represents the connection itself. In the original code, the MTU for the "source" of the clone (the listener) was not being copied to the cloned transport link.

As part of this change, I also felt that there were a few other lines that are part of the "cloning" process that were being done in _demuxDelivery which seemed more suitable for the _newLink function which is more about cloning. This change is not an essential part of the fix, so not a big deal if it doesn't get integrated.

Also moved some other code that I felt was more specific to cloning
the link to the _newLink() function
@kevnfx
Copy link

kevnfx commented May 13, 2016

Impacts links that are dynamically created by an ethernet listener; explicit links can be used as a workaround. This also requires augmentations to the tests so that this case is covered in the future, as well as checks to make sure that mtu specifications are larger than the required fragmentation header.

GlennCScott pushed a commit that referenced this pull request May 27, 2016
…efix

4023 walendo athena unregister prefix
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants