diff options
author | Justin Iurman <[email protected]> | 2024-08-30 21:19:19 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-09-03 11:38:32 -0700 |
commit | 1a5c486300e5ae9dac9bc294023a4667b75a5418 (patch) | |
tree | 71a279785c10625ca0a71430b27917fc25bced97 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 54f1a107bd034e8d9052f5642280876090ebe31c (diff) |
ioam6: improve checks on user data
This patch improves two checks on user data.
The first one prevents bit 23 from being set, as specified by RFC 9197
(Sec 4.4.1):
Bit 23 Reserved; MUST be set to zero upon transmission and be
ignored upon receipt. This bit is reserved to allow for
future extensions of the IOAM Trace-Type bit field.
The second one checks that the tunnel destination address !=
IPV6_ADDR_ANY, just like we already do for the tunnel source address.
Signed-off-by: Justin Iurman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions