mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-08 19:48:13 +00:00
nic_router: no checksum update on IP routing
The router used to update IPv4 checksums when routing via an <ip> rule despite the fact that it doesn't change any IPv4 header fields in this case. Ref #4555
This commit is contained in:
parent
95b3b36cd9
commit
865ee192b4
@ -1326,7 +1326,6 @@ void Interface::_handle_ip(Ethernet_frame ð,
|
|||||||
|
|
||||||
Domain &remote_domain = rule.domain();
|
Domain &remote_domain = rule.domain();
|
||||||
_adapt_eth(eth, ip.dst(), pkt, remote_domain);
|
_adapt_eth(eth, ip.dst(), pkt, remote_domain);
|
||||||
ip.update_checksum();
|
|
||||||
remote_domain.interfaces().for_each([&] (Interface &interface) {
|
remote_domain.interfaces().for_each([&] (Interface &interface) {
|
||||||
interface.send(eth, size_guard);
|
interface.send(eth, size_guard);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user