datapath: Make our checksumming more closely match skb_checksum_help().
authorJesse Gross <jesse@nicira.com>
Mon, 12 Jul 2010 23:02:12 +0000 (16:02 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 13 Jul 2010 21:28:59 +0000 (14:28 -0700)
commitf057cddae23839523fb353b710c69ee01d45d196
tree84e54d0ca2b868a8acb5d22377fd26a6f1b7ae82
parent21256fabfe5e4eeeebd58c74d6f622133b722708
datapath: Make our checksumming more closely match skb_checksum_help().

Our code that handles checksumming does essentially the same thing
as skb_checksum_help() except it folds the process into copying to
userspace.  This makes the two functions more closely resemble
each other in structure, including adding a couple of BUG() checks.
This should have no functional change but makes comparision easier
when debugging.
datapath/datapath.c