Re: [I] [HELP] add 802.1Q header [nuttx]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=commits@nuttx.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=commits@nuttx.apache.org&q=date:20250902" rel="nofollow">Tue, 02 Sep 2025 17:50:32 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> matiamic commented on issue #16814: URL: <a rel="nofollow" href="https://github.com/apache/nuttx/issues/16814#issuecomment-3247266302">https://github.com/apache/nuttx/issues/16814#issuecomment-3247266302</a></pre><pre> Hi @ken-hutchinson, this seems like the default behavior to me: <a rel="nofollow" href="https://man7.org/linux/man-pages/man2/recv.2.html">https://man7.org/linux/man-pages/man2/recv.2.html</a> > If no messages are available at the socket, the receive calls wait for a message to arrive, unless the socket is nonblocking You should be able to go nonblocking by passing the `MSG_DONTWAIT` flag to the `recv`. I am not sure about the blocking of the rest of the network. The behavior is defined [here](<a rel="nofollow" href="https://github.com/apache/nuttx/blob/5592dc75dc5fe03b82acf3a0349bd733099e5d60/net/pkt/pkt_recvmsg.c#L430-L489">https://github.com/apache/nuttx/blob/5592dc75dc5fe03b82acf3a0349bd733099e5d60/net/pkt/pkt_recvmsg.c#L430-L489</a>) I believe. The `net_lock()` is being called, but the lock should be released by the `net_sem_wait` during waiting. But it seems from your description that the netlock might still be locked or there is some other mechanism blocking your ping... -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg143704.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd9.html#143707">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail10.html#143707">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg143727.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg143704.html">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg143727.html">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg143801.html">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg143815.html">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg143830.html">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg145526.html">Re: [I] [HELP] <title>add 802.1Q header [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [I] [HELP] <title>add 802.1Q header [nuttx]"> <input type="hidden" name="msgid" value="I_kwDODZiUac7Eej43-c7b57351-1ee7-4439-8a61-11d4186b6094@gitbox.apache.org"> <input type="hidden" name="relpath" value="commits@nuttx.apache.org/msg143707.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="commits@nuttx.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search commits"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/commits@nuttx.apache.org/">commits - all messages</a></li> <li class="icons-about"><a href="/commits@nuttx.apache.org/info.html">commits - about the list</a></li> <li class="icons-expand"><a href="/search?l=commits@nuttx.apache.org&q=subject:%22Re%5C%3A+%5C%5BI%5C%5D+%5C%5BHELP%5C%5D+%3Ctitle%3Eadd+802.1Q+header+%5C%5Bnuttx%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg143704.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg143727.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDODZiUac7Eej43-c7b57351-1ee7-4439-8a61-11d4186b6094@gitbox.apache.org</li> </ul> </div> </body> </html>