Browse Source

Fixed bug #36210 lwIP does not elicit an empty ACK when received unacceptable ACK

STABLE-2_1_x
Simon Goldschmidt 12 years ago
parent
commit
035ecef8a5
  1. 4
      CHANGELOG
  2. 3
      src/core/tcp_in.c

4
CHANGELOG

@ -100,6 +100,10 @@ HISTORY
++ Bugfixes:
2014-04-06: Simon Goldschmidt
* tcp_in.c: Fixed bug #36210 lwIP does not elicit an empty ACK when received
unacceptable ACK
2014-04-06: Simon Goldschmidt
* dhcp.c, ip4.c/.h, ip6.c/.h, udp.c/.h, ip.h: Fixed bug #41787 DHCP Discovery
is invalid when an IP is set to thet netif.

3
src/core/tcp_in.c

@ -1112,8 +1112,9 @@ tcp_receive(struct tcp_pcb *pcb)
}
#endif /* LWIP_IPV6 && LWIP_ND6_TCP_REACHABILITY_HINTS*/
} else {
/* Fix bug bug #21582: out of sequence ACK, didn't really ack anything */
/* Out of sequence ACK, didn't really ack anything */
pcb->acked = 0;
tcp_send_empty_ack(pcb);
}
/* We go through the ->unsent list to see if any of the segments

Loading…
Cancel
Save