Re: syn cache tcp checksum

2023-05-30 Thread Alexander Bluhm
anyone? On Mon, May 22, 2023 at 10:17:31PM +0200, Alexander Bluhm wrote: > Hi, > > I noticed a missing checksum count in netstat tcp packets sent > software-checksummed. Turns out that our syn cache does the checksum > calculation by hand, instead of the established mechanism in ip > output. >

Re: syn cache tcp checksum

2023-05-22 Thread Hrvoje Popovski
On 22.5.2023. 22:17, Alexander Bluhm wrote: > Hi, > > I noticed a missing checksum count in netstat tcp packets sent > software-checksummed. Turns out that our syn cache does the checksum > calculation by hand, instead of the established mechanism in ip > output. > > Just set the flag M_TCP_CSUM

syn cache tcp checksum

2023-05-22 Thread Alexander Bluhm
Hi, I noticed a missing checksum count in netstat tcp packets sent software-checksummed. Turns out that our syn cache does the checksum calculation by hand, instead of the established mechanism in ip output. Just set the flag M_TCP_CSUM_OUT and let in_proto_cksum_out() do the work later. While