[ovs-dev] [PATCH 09/16] datapath: Add skb_csum_help compatibility function.

Ben Pfaff blp at nicira.com
Wed Apr 14 18:01:06 UTC 2010


On Tue, Apr 13, 2010 at 10:41:11AM -0400, Jesse Gross wrote:
> Later kernel versions remove the direction argument from
> skb_checksum_help.  This provides a compatibility function so we
> can have consistent syntax across versions.

This looks correct to me, but it took me a while to remember that if
CHECKSUM_HW exists, then it is equal to CHECKSUM_PARTIAL and thus that
the unified version was equivalent.  It would be nice to say something
about that in the commit message.




More information about the dev mailing list