summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/driver')
-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;