ipv6: ioam: move the check for undefined bits
authorJustin Iurman <justin.iurman@uliege.be>
Mon, 11 Oct 2021 18:04:11 +0000 (20:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Oct 2021 10:49:49 +0000 (11:49 +0100)
commit2bbc977ca689e5e18e8cf98f68854f92bd053c97
tree72520ed24c4665b5a509ae02f528efaa043fa404
parentef1100ef20f29aec4e62abeccdb5bdbebba1e378
ipv6: ioam: move the check for undefined bits

The check for undefined bits in the trace type is moved from the input side to
the output side, while the input side is relaxed and now inserts default empty
values when an undefined bit is set.

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ioam6.c
net/ipv6/ioam6_iptunnel.c