anchao opened a new pull request, #6975:
URL: https://github.com/apache/incubator-nuttx/pull/6975

   
   ## Summary
   
   net/usrsock: allow usrsock *DATA_ACK with no-preload data
   
   allow usrsock USRSOCK_MESSAGE_RESPONSE_DATA_ACK with no-preload data
   so addrlen could be updated to valuelen_nontrunc of 
usrsock_message_datareq_ack_s
   
   ```
   
   nsh> usrsocktest
   ...
   Testing group "basic_getsockname" =>
        [TEST ASSERT FAILED!]
                In function "basic_getsockname_open":
                line 170: Assertion `(ssize_t)((ret)) == (ssize_t)((0))' failed.
                        got value: -1
                        should be: 0
        Group "basic_getsockname": [FAILED]
   ```
   
   Signed-off-by: chao an <anc...@xiaomi.com>
   
   
   ## Impact
   
   ## Testing
   
   Pass the usrsock test:
   
https://github.com/apache/incubator-nuttx-apps/blob/master/examples/usrsocktest/usrsocktest_basic_getsockname.c#L168-L170


-- 
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

Reply via email to