Skip to content

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 [email protected]

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 <[email protected]>
@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