You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/17 19:18:30 UTC

[GitHub] [incubator-nuttx] patacongo opened a new issue #2328: Limitations in IPv4 Packet Re-assembly

patacongo opened a new issue #2328:
URL: https://github.com/apache/incubator-nuttx/issues/2328


   IPv4 packet re-assembly is implemented in net/devif/ipv4_input.c.  The current implementation, however, has too many limitations to be useful:
   
   1. IPv4 reassembly is untested.
   2. Currently can only work with Ethernet due to the use of Ethernet packet size in the definition of  `IPv4_REASS_BUFSIZE`.
   3. Since there is only a single reassembly buffer, IPv4 reassembly cannot  be used in a context where there may be multiple, concurrent re-assembly packets.
   4. The IPv4 header is variable-length depending up on the options in the header.  The logic here assumes that the size of the IPv4 header is a constant (this is a bug and not a limitation).
   


----------------------------------------------------------------
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:
users@infra.apache.org