anchao commented on code in PR #7616:
URL: https://github.com/apache/nuttx/pull/7616#discussion_r1032636239


##########
net/utils/net_ipchksum.c:
##########
@@ -160,7 +168,15 @@ uint16_t ipv6_upperlayer_chksum(FAR struct net_driver_s 
*dev,
 
   /* Sum IP payload data. */
 
-  sum = chksum(sum, IPBUF(iplen), upperlen);
+  if (dev->d_iob != NULL)

Review Comment:
   Done



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