mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
fixed bug #48476 (TCP sent callback called wrongly due to picking up old pcb->acked
This commit is contained in:
parent
01e5d6d819
commit
421dab87e8
@ -321,6 +321,10 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2016-07-11: Simon Goldschmidt
|
||||
* tcp_in.c: fixed bug #48476 (TCP sent callback called wrongly due to picking
|
||||
up old pcb->acked
|
||||
|
||||
2016-06-30: Simon Goldschmidt (original patch by Fabian Koch)
|
||||
* tcp_in.c: fixed bug #48170 (Vulnerable to TCP RST spoofing)
|
||||
|
||||
|
@ -398,6 +398,7 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
||||
goto aborted;
|
||||
}
|
||||
}
|
||||
pcb->acked = 0;
|
||||
}
|
||||
if (recv_flags & TF_CLOSED) {
|
||||
/* The connection has been closed and we will deallocate the
|
||||
|
Loading…
Reference in New Issue
Block a user