aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMarvin Borner2020-11-28 21:38:56 +0100
committerMarvin Borner2020-11-28 21:38:56 +0100
commit990209fcdd3e5dd4b993f29d90176d81dab85644 (patch)
treee67e3ce75d5aa653dcd0e0a8788e398af2176dbe /kernel
parent825658894b4192811b4a3fd2f375bb503468d4dc (diff)
Fixed process wake up without data receiving
Diffstat (limited to 'kernel')
-rw-r--r--kernel/features/net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/features/net.c b/kernel/features/net.c
index cc46cd4..80c1164 100644
--- a/kernel/features/net.c
+++ b/kernel/features/net.c
@@ -504,8 +504,6 @@ static void tcp_handle_packet(struct tcp_packet *packet, u32 dst, int len)
tcp->ack_no = recv_seq;
tcp->seq_no = recv_ack;
- proc_from_pid(socket->pid)->state = PROC_RUNNING;
-
socket->state = S_CONNECTED;
tcp->state++;
return;