mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
net/: icmp[v6] fix ping[6] complain 'WARNING: Received after timeout'. The root cause is that icmp[v6]_pollsetup monitors ICMP[v6]_NEWDATA, but icmp[v6]_input reports ICMP[v6]_ECHOREPLY. This change lets icmp[v6]_input report report ICMP[v6]_NEWDATA to fix this issue and remove ICMP[v6]_ECHOREPLY to avoid the wrong usage in the future.
This commit is contained in:
parent
250bde034d
commit
e1e192fc33
8 changed files with 28 additions and 35 deletions
|
|
@ -372,7 +372,6 @@ struct net_driver_s
|
|||
* socket-less packet transfers. There events include:
|
||||
*
|
||||
* ICMP data receipt: ICMP_NEWDATA, ICMPv6_NEWDATA
|
||||
* ICMP ECHO replies: ICMP_ECHOREPLY, ICMPv6_ECHOREPLY
|
||||
* Driver Tx poll events: ARP_POLL, ICMP_POLL. ICMPv6_POLL
|
||||
* IP Forwarding: IPFWD_POLL
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue