net: tcp: Revert: Do not accept new data in retransmission mode
After the window_full function has been fixed by looking at the
send_data_total instead of the unacked_len. There is no risk
in sending data in transmission mode.
This reverts commit 0088aaefa0
.
Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
This commit is contained in:
parent
ac47200150
commit
17f94d3f96
1 changed files with 0 additions and 5 deletions
|
@ -2373,11 +2373,6 @@ int net_tcp_queue_data(struct net_context *context, struct net_pkt *pkt)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conn->data_mode == TCP_DATA_MODE_RESEND) {
|
|
||||||
ret = -EAGAIN;
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
len = net_pkt_get_len(pkt);
|
len = net_pkt_get_len(pkt);
|
||||||
|
|
||||||
if (conn->send_data->buffer) {
|
if (conn->send_data->buffer) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue