udp: fix udp_local length errors accounting 14/38514/3
authorVladislav Grishenko <themiron@yandex-team.ru>
Sat, 18 Mar 2023 14:39:28 +0000 (19:39 +0500)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 24 Mar 2023 16:44:20 +0000 (16:44 +0000)
In case of UDP length errors in udp_local node, these errors are
being lost and incomplete header may be advanced by wrong offset.
Fix it with only full packets processing and explicit error set
otherwise. Also, optimize two buffer loop perfomance into fast
path with both buffers are ok and slow path with one or none.

Type: fix
Change-Id: I6b7edc3eb5593981e55d7ae20d753c0fd1549d86
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>

No differences found