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

Revert "net: pkt: Take into account MTU when adding data to a packet" #4972

Closed
wants to merge 1 commit into from

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Nov 14, 2017

This reverts commit 4718dac.

This causes issues with echo-client and other programs that call
net_pkt_append() function. The MTU returned is too short in practice
as we only have function in net_if for HW MTU and this functionality
needs more of IP MTU selection which is currently not available.
So reverting this atm before we can figure out better solution.

Fixes #4934

Signed-off-by: Jukka Rissanen jukka.rissanen@linux.intel.com

Copy link
Contributor

@pfalcon pfalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please give me today to prepare a patch which removes a point of contention - using MTU in the check the original patch makes, instead of the complete revert. Thanks.

(I'm otherwise semi-offline this week due to medical reasons.)

@pfalcon
Copy link
Contributor

pfalcon commented Nov 16, 2017

The alternative posted: #5015

Honor the device MTU when sending data.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
@jukkar
Copy link
Member Author

jukkar commented Nov 20, 2017

I messed up this PR, so need to close it atm.

@jukkar jukkar deleted the net-pkt branch November 20, 2017 12:36
@jukkar jukkar restored the net-pkt branch November 20, 2017 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants