summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2022-08-17 23:10:37 +0200
committerdzwdz2022-08-17 23:10:37 +0200
commitbb05dbe9ab050c420e0cba11f3224bd18dd9d642 (patch)
tree2aa17b0dd3eac398ac86203f87541932397f6e8b /src/kernel
parent6ffb06af70faa5657f2c6091fe23500007e2bd44 (diff)
user/net: respond to pings
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/arch/amd64/driver/rtl8139.c1
1 files changed, 1 insertions, 0 deletions
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;