[ovs-dev] [PATCH v1] odp-util: calc checksum of ip hdr for tunnel encap
blp at ovn.org
Wed Sep 25 16:21:20 UTC 2019
On Tue, Sep 24, 2019 at 08:38:53AM +0800, martinbj2008 at gmail.com wrote:
> From: Martin Zhang <martinbj2008 at gmail.com>
> When parse tnl_push, if IPv4 is used,
> we forget to fill the ipv4 checksum fields.
> In the patch:
> csum has been used as a variable,
> so we neeed rename it to udp_csum.
> Signed-off-by: Martin Zhang <martinbj2008 at gmail.com>
> Signed-off-by: Dujie <dujie at didiglobal.com>
Thanks for the patch.
This fails to build for me:
../lib/odp-util.c:1533:16: error: implicit declaration of function 'csum' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
../lib/odp-util.c:1533:16: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
More information about the dev