Skip to content

switch: request a large enough buffer for the MTU#574

Merged
djs55 merged 1 commit intomoby:masterfrom
djs55:fix-buffer-size
Apr 6, 2022
Merged

switch: request a large enough buffer for the MTU#574
djs55 merged 1 commit intomoby:masterfrom
djs55:fix-buffer-size

Conversation

@djs55
Copy link
Copy Markdown
Collaborator

@djs55 djs55 commented Apr 6, 2022

Previously we used "sizeof_ethernet" which is the "size of the Ethernet header" (!) Most of the time the buffer is big enough anyway, but this explains the occasional Cstrict.blit errors in the log when a 14 byte buffer is used.

Signed-off-by: David Scott dave@recoil.org

Previously we used "sizeof_ethernet" which is the "size of the Ethernet
header" (!) Most of the time the buffer is big enough anyway, but this
explains the occasional Cstrict.blit errors in the log when a 14 byte
buffer is used.

Signed-off-by: David Scott <dave@recoil.org>
@djs55 djs55 merged commit c4665a1 into moby:master Apr 6, 2022
@djs55 djs55 deleted the fix-buffer-size branch April 6, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant