From bb05dbe9ab050c420e0cba11f3224bd18dd9d642 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 17 Aug 2022 23:10:37 +0200 Subject: user/net: respond to pings --- src/kernel/arch/amd64/driver/rtl8139.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel') diff --git a/src/kernel/arch/amd64/driver/rtl8139.c b/src/kernel/arch/amd64/driver/rtl8139.c index 428d675..2438002 100644 --- a/src/kernel/arch/amd64/driver/rtl8139.c +++ b/src/kernel/arch/amd64/driver/rtl8139.c @@ -170,6 +170,7 @@ static void accept(struct vfs_request *req) { ret = try_rx(req->caller->pages, req->output.buf, req->output.len); if (ret == WAIT) { // TODO this is a pretty common pattern in drivers, try to make it unneeded + // TODO invalid assert, fails on nmap assert(!req->postqueue_next); struct vfs_request **slot = &blocked_on; while (*slot) slot = &(*slot)->postqueue_next; -- cgit v1.2.3