mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-29 12:14:28 +00:00
patch #8480 Fix handling of dns_seqno wraparound
This commit is contained in:
parent
f1e023af85
commit
aa6f6bc3aa
@ -127,6 +127,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2014-09-16: Kevin Cernekee
|
||||||
|
* dns.c: patch #8480 Fix handling of dns_seqno wraparound
|
||||||
|
|
||||||
2014-09-16: Simon Goldschmidt
|
2014-09-16: Simon Goldschmidt
|
||||||
* tcp_out.c: fixed bug #43192 tcp_enqueue_flags() should not check TCP_SND_QUEUELEN
|
* tcp_out.c: fixed bug #43192 tcp_enqueue_flags() should not check TCP_SND_QUEUELEN
|
||||||
when sending FIN
|
when sending FIN
|
||||||
|
@ -1161,7 +1161,7 @@ dns_enqueue(const char *name, size_t hostnamelen, dns_found_callback found,
|
|||||||
}
|
}
|
||||||
/* check if this is the oldest completed entry */
|
/* check if this is the oldest completed entry */
|
||||||
if (entry->state == DNS_STATE_DONE) {
|
if (entry->state == DNS_STATE_DONE) {
|
||||||
if ((dns_seqno - entry->seqno) > lseq) {
|
if ((u8_t)(dns_seqno - entry->seqno) > lseq) {
|
||||||
lseq = dns_seqno - entry->seqno;
|
lseq = dns_seqno - entry->seqno;
|
||||||
lseqi = i;
|
lseqi = i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user