You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "masc2008 (via GitHub)" <gi...@apache.org> on 2026/04/17 01:55:26 UTC
[PR] net/tcp: improve tcp_send_txnotify [nuttx]
masc2008 opened a new pull request, #18751:
URL: https://github.com/apache/nuttx/pull/18751
Use conn->dev directly when it is already available
## Summary
Use `conn->dev` directly in `tcp_send_txnotify()` when the device is already available, and keep the existing IPv4/IPv6 fallback path when it is not.
Also fix the grammar in the function comment.
## Impact
This is a small networking change in `net/tcp/tcp_send.c`.
It keeps the existing fallback behavior when `conn->dev` is `NULL` and uses the cached device directly when available.
## Test
On BES chips, since there is no related log when do this, no need to attach log.
from the code, it's a good improvement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] net/tcp: improve tcp_send_txnotify [nuttx]
Posted by "anchao (via GitHub)" <gi...@apache.org>.
anchao merged PR #18751:
URL: https://github.com/apache/nuttx/pull/18751
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org