Re: [PATCH 0/2] Fold checksum at the end of bpf_csum_diff and fix

2019-07-12 Thread Daniel Borkmann
On 07/12/2019 01:50 AM, Andrii Nakryiko wrote: > On Thu, Jul 11, 2019 at 2:32 AM Paolo Pisati wrote: >> From: Paolo Pisati >> >> After applying patch 0001, all checksum implementations i could test >> (x86-64, arm64 and >> arm), now agree on the return value. >> >> Patch 0002 fix the expected re

Re: [PATCH 0/2] Fold checksum at the end of bpf_csum_diff and fix

2019-07-11 Thread Andrii Nakryiko
On Thu, Jul 11, 2019 at 2:32 AM Paolo Pisati wrote: > > From: Paolo Pisati > > After applying patch 0001, all checksum implementations i could test (x86-64, > arm64 and > arm), now agree on the return value. > > Patch 0002 fix the expected return value for test #13: i did the calculation > manu

[PATCH 0/2] Fold checksum at the end of bpf_csum_diff and fix

2019-07-11 Thread Paolo Pisati
From: Paolo Pisati After applying patch 0001, all checksum implementations i could test (x86-64, arm64 and arm), now agree on the return value. Patch 0002 fix the expected return value for test #13: i did the calculation manually, and it correspond. Unfortunately, after applying patch 0001, o