datapath: Check vswitch_skb_checksum_setup() return code.
authorJesse Gross <jesse@nicira.com>
Thu, 17 Jun 2010 22:17:53 +0000 (15:17 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 18 Jun 2010 18:38:10 +0000 (11:38 -0700)
commitb28c72ba7c992bcd2f5b65be0799a2d9422df21f
tree0381771d32edcf02e5143139f29dc8f93475259f
parenta2377e444a0e0a3f3c6db2502c63cc9545572281
datapath: Check vswitch_skb_checksum_setup() return code.

If vswitch_skb_checksum_setup() returns an error, the checksum
pointers probably haven't been set correctly which could cause
a crash later.  We should give up immediately on error.
datapath/actions.c
datapath/vport-gre.c