Skip to content

Commit afa114d

Browse files
IurmanJkuba-moo
authored andcommitted
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 <[email protected]> Fixes: b63c547 ("ipv6: ioam: Support for Queue depth data field") Signed-off-by: Justin Iurman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 63ec72b commit afa114d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/testing/selftests/net/ioam6_parser.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,8 @@ static int check_ioam6_data(__u8 **p, struct ioam6_trace_hdr *ioam6h,
240240
*p += sizeof(__u32);
241241
}
242242

243-
if (ioam6h->type.bit6) {
244-
if (__be32_to_cpu(*((__u32 *)*p)) != 0xffffffff)
245-
return 1;
243+
if (ioam6h->type.bit6)
246244
*p += sizeof(__u32);
247-
}
248245

249246
if (ioam6h->type.bit7) {
250247
if (__be32_to_cpu(*((__u32 *)*p)) != 0xffffffff)

0 commit comments

Comments
 (0)