projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv4: Reject routes specifying ECN bits in rtm_tos
[linux-2.6-microblaze.git]
/
tools
/
testing
/
selftests
/
net
/
ioam6_parser.c
diff --git
a/tools/testing/selftests/net/ioam6_parser.c
b/tools/testing/selftests/net/ioam6_parser.c
index
8f6997d
..
d9d1d41
100644
(file)
--- a/
tools/testing/selftests/net/ioam6_parser.c
+++ b/
tools/testing/selftests/net/ioam6_parser.c
@@
-240,11
+240,8
@@
static int check_ioam6_data(__u8 **p, struct ioam6_trace_hdr *ioam6h,
*p += sizeof(__u32);
}
- if (ioam6h->type.bit6) {
- if (__be32_to_cpu(*((__u32 *)*p)) != 0xffffffff)
- return 1;
+ if (ioam6h->type.bit6)
*p += sizeof(__u32);
- }
if (ioam6h->type.bit7) {
if (__be32_to_cpu(*((__u32 *)*p)) != 0xffffffff)