mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
net: consume descriptor on tx
This commit is contained in:
@@ -191,7 +191,7 @@ static int rtl8169_sendpacket(netdev_t *internal, netdesc_t desc, mac_t target,
|
||||
spinlock_release_lower_ipl(&netdev->tx_lock, ipl);
|
||||
sched_yield();
|
||||
|
||||
return 0;
|
||||
return internal->freedesc(internal, &desc);
|
||||
}
|
||||
|
||||
// requested size doesn't account for ethernet header
|
||||
|
||||
Reference in New Issue
Block a user