anchao commented on code in PR #7616: URL: https://github.com/apache/nuttx/pull/7616#discussion_r1037778818
########## net/icmp/icmp_sendmsg.c: ########## @@ -125,7 +129,7 @@ static void sendto_request(FAR struct net_driver_s *dev, /* Calculate the ICMP checksum. */ icmp->icmpchksum = 0; - icmp->icmpchksum = ~(icmp_chksum(dev, pstate->snd_buflen)); + icmp->icmpchksum = ~(icmp_chksum_iob(dev->d_iob)); 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