diff options
author | Janne Peltonen <janne.peltonen@nokia.com> | 2021-10-26 11:26:15 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-10-27 09:31:49 +0300 |
commit | 92db3255a46c0982ea46507492584778119b9045 (patch) | |
tree | 4a56ea4b552855b80e9f2fe352efb476aa4808b2 /test/validation | |
parent | 52fd8c1bd1da414a11198413d14d8be3332d9eb0 (diff) |
validation: ipsec: remove packet parsing bug workaround
Check the return value of odp_packet_parse() now that it has been fixed
to no longer incorrectly report a failure.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'test/validation')
-rw-r--r-- | test/validation/api/ipsec/ipsec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c index e90315d5f..cd1824fb1 100644 --- a/test/validation/api/ipsec/ipsec.c +++ b/test/validation/api/ipsec/ipsec.c @@ -1003,11 +1003,7 @@ static void parse_ip(odp_packet_t pkt) .proto = proto, .last_layer = ODP_PROTO_LAYER_L4, }; - /* - * odp_packet_parse() is buggy in linux generic ODP. Intentionally - * ignore the return value until the bug has been fixed. - */ - (void)odp_packet_parse(pkt, l3, ¶m); + CU_ASSERT(odp_packet_parse(pkt, l3, ¶m) == 0); } int ipsec_check_out(const ipsec_test_part *part, odp_ipsec_sa_t sa, |