From 990209fcdd3e5dd4b993f29d90176d81dab85644 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 28 Nov 2020 21:38:56 +0100 Subject: Fixed process wake up without data receiving --- kernel/features/net.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'kernel') 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; -- cgit v1.2.3