[lng-odp] [PATCH v5 2/3] helper: ip: correct ipv4 header checksum calculation

2017-08-25 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Current code for IPv4 header checksum calculation assumes that packet data is aligned on 2-byte boundary, that there are no optional headers, etc. Rewrite checksumming code to properly copy & process headers. Signed-off-by: Dmitry

[lng-odp] [PATCH v5 2/3] helper: ip: correct ipv4 header checksum calculation

2017-08-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Current code for IPv4 header checksum calculation assumes that packet data is aligned on 2-byte boundary, that there are no optional headers, etc. Rewrite checksumming code to properly copy & process headers. Signed-off-by: Dmitry