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

drivers: slip: Consistently log pkt/buf allocation failures #4328

Merged
merged 1 commit into from
Oct 16, 2017

Conversation

pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Oct 14, 2017

There are 3 cases of possible allocation failures, only 1 of them
was logged. Now, all the cases are logged: 1) failure to allocate
net_pkt; 2) failure to allocate very first net_buf for it; 3)
failure to allocate additional net_buf for it (this latter was
the only one logged previously).

Signed-off-by: Paul Sokolovsky [email protected]

There are 3 cases of possible allocation failures, only 1 of them
was logged. Now, all the cases are logged: 1) failure to allocate
net_pkt; 2) failure to allocate very first net_buf for it; 3)
failure to allocate additional net_buf for it (this latter was
the only one logged previously).

Signed-off-by: Paul Sokolovsky <[email protected]>
@pfalcon pfalcon requested a review from jukkar October 14, 2017 11:28
@pfalcon pfalcon requested a review from tbursztyka as a code owner October 14, 2017 11:28
@pfalcon
Copy link
Contributor Author

pfalcon commented Oct 14, 2017

This comes from investigating #4022.

@jukkar jukkar merged commit 1ca4f1a into zephyrproject-rtos:master Oct 16, 2017
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