The test counts the '\0' of the data copied, though it does not belong to the packet. Since the test by-passes net_ipv6_input, which would update the packet length according to what is in the IPv6 header, the checksum calculation fails. Before, checksum calculation used to grab the length from IPv6 header, but that changed to use net_pkt_get_len(): that one must provide the real lenth. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||