Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/testpmd: fix IP checksum calculation
[ upstream commit d841ef8 ] Strict-aliasing rules are violated by cast to uint16_t* in flowgen.c and the calculated IP checksum is wrong. Use attribute __may_alias__ to fix the problem. Fixes: e9e23a6 ("app/testpmd: add flowgen forwarding engine") Signed-off-by: George Prekas <prekageo@amazon.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information