Skip to content

implemented fix to prevent queue overfill - #343

Open
yumnazaheed wants to merge 2 commits into
mainfrom
queue-overfill
Open

implemented fix to prevent queue overfill#343
yumnazaheed wants to merge 2 commits into
mainfrom
queue-overfill

Conversation

@yumnazaheed

Copy link
Copy Markdown
Contributor

Buffers from multiple interfaces can now converge on certain shared queues, but nothing checked fullness before enqueuing, just assert.

  • routing.c: transmit_packet()'s tx_active enqueue and the webserver-routing enqueue now check fw_queue_full() first. if it's full, drop and return the buffer to rx_free.
  • firewall_network_virt_tx.c: tx_provide() now checks fullness before forwarding into the driver-shared queue, leaving buffers queued (not dropped) if it's full.

Fixes #292

@yumnazaheed yumnazaheed self-assigned this Aug 26, 2026
Signed-off-by: Yumna Zaheed <z5550542@student.unsw.edu.au>
Signed-off-by: Yumna Zaheed <z5550542@student.unsw.edu.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Firewall queues and network queues may be overfilled

1 participant