On Thu, Jun 01, 2023 at 04:38:53PM +0000, Peter Stuge wrote: > David Gwynne wrote: > > > Currently packets sent over loopback interface get their checksum > > > calculated twice. In the output path it is set and during TCP/IP > > > input it is calculated again to be compared with the previous value. > .. > > > The question is, does it break corner cases? Please test with pf > > > route-to, IPsec, bridging, IPv6 and other setups where loopback > > > might be involved. > > > > who knows how bridge works? otherwise i think it should be ok. > > hopefully. > > Would a middle ground be safer? To only calculate checksum on output?
Either it works or not. If not, we can fix the bugs. Have you tested and discovered a failure? bluhm