diff options
author | Vladislav Grishenko <themiron@yandex-team.ru> | 2023-03-18 19:39:28 +0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-03-24 16:44:20 +0000 |
commit | 696f8e042f89d18ea4150ea2c61614b9d11c0c52 (patch) | |
tree | a741a219f776a10011e64be374c81bc3a2fee937 /src/vnet/interface_stats.c | |
parent | b052c6702e769ca3c3008926103abc7d6c9cbd98 (diff) |
udp: fix udp_local length errors accounting
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>
Diffstat (limited to 'src/vnet/interface_stats.c')
0 files changed, 0 insertions, 0 deletions