From cb9816c78f25ecc8736cd97c11c839a4c18bcf76 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 29 Nov 2020 18:43:31 +0100 Subject: Fixed some things I'm currently working on a huge commit, but it doesn't work.. WAIT AND SEE! --- kernel/features/net.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'kernel') diff --git a/kernel/features/net.c b/kernel/features/net.c index 80c1164..26bdc0f 100644 --- a/kernel/features/net.c +++ b/kernel/features/net.c @@ -536,8 +536,6 @@ static void tcp_handle_packet(struct tcp_packet *packet, u32 dst, int len) tcp_send_packet(socket, TCP_FLAG_ACK, NULL, 0); - proc_from_pid(socket->pid)->state = PROC_RUNNING; - socket->state = S_CLOSED; tcp->state = 0; return; @@ -571,8 +569,6 @@ static void udp_handle_packet(struct udp_packet *packet) sdata->data = NULL; } list_add(socket->packets, sdata); - proc_from_pid(socket->pid)->state = PROC_RUNNING; - /* printf("Waking up %d\n", socket->pid); */ } static void ip_handle_packet(struct ip_packet *packet, int len) -- cgit v1.2.3