Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MTU of RawSocket and TapInterface. #393

Merged
merged 1 commit into from
Dec 25, 2020
Merged

Fix MTU of RawSocket and TapInterface. #393

merged 1 commit into from
Dec 25, 2020

Conversation

Dirbaio
Copy link
Member

@Dirbaio Dirbaio commented Dec 25, 2020

Linux's MTU is the IP MTU, while smoltcp's is the Ethernet MTU. Therefore we have to add the ethernet header size to it.

Linux's MTU is the IP MTU, while smoltcp's is the Ethernet MTU.
Therefore we have to add the ethernet header size to it.
@Dirbaio Dirbaio merged commit 331dde7 into master Dec 25, 2020
@Dirbaio Dirbaio deleted the linux-mtu-fix branch December 25, 2020 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants