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

Netusb: Fix coverity ID178334 and add TCP retry count in debug #4641

Merged
merged 2 commits into from
Nov 1, 2017

Conversation

finikorg
Copy link
Collaborator

No description provided.

Print also retry count when retransmitting packets.

Signed-off-by: Andrei Emeltchenko <[email protected]>
Copy link
Member

@jukkar jukkar left a comment

Choose a reason for hiding this comment

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

Looks good, some commit message changes are still needed.

@@ -233,41 +233,34 @@ int ecm_send(struct net_pkt *pkt)
{
Copy link
Member

Choose a reason for hiding this comment

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

Commit message is missing

Fixes #4637
Coverity-CID: 178334

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added Coverity and bug ID

In a case we get packet without fragments return -ENODATA.
The bug was discovered by Coverity.

Fixes zephyrproject-rtos#4637
Coverity-CID: 178334

Signed-off-by: Andrei Emeltchenko <[email protected]>
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.

2 participants