mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 10:15:43 +00:00
Clear addr_hint pointer after calling ip_output_if() in tcp_zero_window_probe()
This was missed in commit aa0e41c389
("task #12178: hardware checksum capabilities can be configured per netif"),
fix it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
4beacc4ca0
commit
515a4cad73
@ -1597,6 +1597,7 @@ tcp_zero_window_probe(struct tcp_pcb *pcb)
|
|||||||
NETIF_SET_HWADDRHINT(netif, &(pcb->addr_hint));
|
NETIF_SET_HWADDRHINT(netif, &(pcb->addr_hint));
|
||||||
err = ip_output_if(PCB_ISIPV6(pcb), p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl,
|
err = ip_output_if(PCB_ISIPV6(pcb), p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl,
|
||||||
0, IP_PROTO_TCP, netif);
|
0, IP_PROTO_TCP, netif);
|
||||||
|
NETIF_SET_HWADDRHINT(netif, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
pbuf_free(p);
|
pbuf_free(p);
|
||||||
|
Loading…
Reference in New Issue
Block a user