meerd opened a new pull request #1142:
URL: https://github.com/apache/incubator-nuttx/pull/1142


   ## Summary
   The use of uint64_t primitive type in NFS structures forces the compiler to 
align data on an 8-byte boundary. 
   
   ## Impact
   As a result of this, unwanted gaps being created, which causes NFS to fail. 
(e.g.,nfs_read/initialize the request)
   
   ## Testing
   I noticed this issue while I was trying to 'cat' a file. The NFS 
implementation was always failing with 10001. After digging into the problem 
and sniffing the packages with Wireshark, I saw some garbage data in the read 
requests. After making this change, the problem disappeared, and everything 
started to work as expected.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to