datapath: Use HAVE_PROTO_DATA_VALID when defining vswitch_skb_checksum_setup
authorIan Campbell <Ian.Campbell@citrix.com>
Thu, 19 Nov 2009 18:20:49 +0000 (10:20 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Nov 2009 18:25:57 +0000 (10:25 -0800)
commitf7fed00035a1b7822c1d61e568bc31e842f192db
treecab89c9ecd842c39b555d20e31f9ff4aac13e494
parente8cf6733e490cf78c1e5f5f58c3655011fb8ae22
datapath: Use HAVE_PROTO_DATA_VALID when defining vswitch_skb_checksum_setup

The purpose of the non-empty variant of vswitch_skb_checksum_setup is to
synchronise the proto_data_valid and proto_csum_blank fields into the
standard skb csum/ip_summed fields, therefore it is more correct to key
off of HAVE_PROTO_DATA_VALID.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
datapath/datapath.c