mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel: Make sure we increment the TX counter
This was broken by b436dd1
.
This commit is contained in:
parent
c66b281856
commit
60298121d8
Notes:
sideshowbarker
2024-07-18 16:54:15 +09:00
Author: https://github.com/gunnarbeutner
Commit: 60298121d8
Pull-request: https://github.com/SerenityOS/serenity/pull/7781
6 changed files with 15 additions and 9 deletions
|
@ -230,7 +230,7 @@ KResultOr<size_t> IPv4Socket::sendto(FileDescription&, const UserOrKernelBuffer&
|
|||
routing_decision.adapter->release_packet_buffer(*packet);
|
||||
return EFAULT;
|
||||
}
|
||||
routing_decision.adapter->send_raw({ packet->buffer.data(), packet->buffer.size() });
|
||||
routing_decision.adapter->send_packet({ packet->buffer.data(), packet->buffer.size() });
|
||||
routing_decision.adapter->release_packet_buffer(*packet);
|
||||
return data_length;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue