You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/09/26 15:38:27 UTC
[GitHub] forgithub123 opened a new pull request #197: Fix the wrong way to
detect the trailing space
forgithub123 opened a new pull request #197: Fix the wrong way to detect the trailing space
URL: https://github.com/apache/mynewt-nimble/pull/197
Assignment n bytes to link.rx.buf->om_len will lead to n bytes decrease of OS_MBUF_TRAILINGSPACE(link.rx.buf), so we should get the OS_MBUF_TRAILINGSPACE(link.rx.buf) before assignment net_buf_simple_pull_be16(buf) to link.rx.buf->om_len.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services