Re: [PATCH bpf-next 4/5] selftests/bpf: test_sockmap, fix data verification
From: John Fastabend <john.fastabend@gmail.com>
Date: 2018-05-18 16:49:25
From: John Fastabend <john.fastabend@gmail.com>
Date: 2018-05-18 16:49:25
On 05/18/2018 12:17 AM, Prashant Bhole wrote:
When data verification is enabled, some tests fail because verification is done
incorrectly. Following changes fix it.
- Identify the size of data block to be verified
- Reset verification counter when data block size is reached
- Fixed the value printed in case of verification failure
Fixes: 16962b2404ac ("bpf: sockmap, add selftests")
Signed-off-by: Prashant Bhole <redacted>
---Thanks! Acked-by: John Fastabend <john.fastabend@gmail.com>