diff options
author | Marvin Borner | 2020-11-28 21:38:56 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-28 21:38:56 +0100 |
commit | 990209fcdd3e5dd4b993f29d90176d81dab85644 (patch) | |
tree | e67e3ce75d5aa653dcd0e0a8788e398af2176dbe /kernel | |
parent | 825658894b4192811b4a3fd2f375bb503468d4dc (diff) |
Fixed process wake up without data receiving
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/features/net.c | 2 |
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; |