ankohuu commented on PR #18843:
URL: https://github.com/apache/nuttx/pull/18843#issuecomment-4372098818

   - Do we need check in other ND messages?
   - Do we need to verify that the generic option header is fully present 
before checking `opt->optlen == 0`?  I mean the remaining bytes should be at 
least the generic option header size to keep the optlen is meaningful.
   - If there are multiple options and the last one `optlen == 0`, we need to 
drop the whole packet, right? Now other options may take effect first.    e.g.  
RA packets  `ICMPv6_OPT_SRCLLADDR` + 0 len option


-- 
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: [email protected]

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

Reply via email to