diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2016-07-19 00:02:30 +0100 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2016-07-19 00:43:03 +0100 |
commit | 9c7aa95efd1120b3bbe3a214afd9ffb03afa7a6d (patch) | |
tree | befef0af0ee6bb0202b9890df774d2ba8ce82192 /lib/libtle_udp/osdep.h | |
parent | 3688f046e8b62bce6c4c51b43f48bd5c67a2aaf6 (diff) |
fix segfault on input packets with invalid checksum
libtle_udp: prevent receive code-path to reference packets
that were already freed.
udpfwd: if input device doesn't support IPV4 checksum offload,
we need to recalculate IPV4 header checksum of the
reassembled packet.
fixes 3395610ea65d ("Initial commit of tldk code").
fixes 8efc4c11464f ("Change libtle_udp to use dring").
Change-Id: I77523b1ba63b0f8d25d5f0b3bc777a338ad8acf5
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'lib/libtle_udp/osdep.h')
0 files changed, 0 insertions, 0 deletions