Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: net: ioam: expect support for Queue depth data

The IOAM queue-depth data field was added a few weeks ago,
but the test unit was not updated accordingly.

Reported-by: kernel test robot <oliver.sang@intel.com>
Fixes: b63c5478e9cb ("ipv6: ioam: Support for Queue depth data field")
Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Link: https://lore.kernel.org/r/20220121173449.26918-1-justin.iurman@uliege.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Justin Iurman and committed by
Jakub Kicinski
afa114d9 63ec72bd

+1 -4
+1 -4
tools/testing/selftests/net/ioam6_parser.c
··· 240 240 *p += sizeof(__u32); 241 241 } 242 242 243 - if (ioam6h->type.bit6) { 244 - if (__be32_to_cpu(*((__u32 *)*p)) != 0xffffffff) 245 - return 1; 243 + if (ioam6h->type.bit6) 246 244 *p += sizeof(__u32); 247 - } 248 245 249 246 if (ioam6h->type.bit7) { 250 247 if (__be32_to_cpu(*((__u32 *)*p)) != 0xffffffff)