X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fdatapath.c;h=4f15ea0ca8f744d6eee41e767ef06a928fd417e6;hb=d295e8e97acae13552a5b220d3fbcff8201064a2;hp=a34049f931383fd52478b182531fa815476261a8;hpb=90a249dc93ccabd398b64092121b07e5af2d8c2d;p=sliver-openvswitch.git diff --git a/datapath/datapath.c b/datapath/datapath.c index a34049f93..4f15ea0ca 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -754,7 +754,7 @@ void compute_ip_summed(struct sk_buff *skb, bool xmit) skb->ip_summed); /* None seems the safest... */ OVS_CB(skb)->ip_summed = OVS_CSUM_NONE; - } + } #if defined(CONFIG_XEN) && defined(HAVE_PROTO_DATA_VALID) /* Xen has a special way of representing CHECKSUM_PARTIAL on older @@ -2283,7 +2283,7 @@ ssize_t openvswitch_read(struct file *f, char __user *buf, size_t nbytes, } success: copy_bytes = tot_copy_bytes = min_t(size_t, skb->len, nbytes); - + retval = 0; if (skb->ip_summed == CHECKSUM_PARTIAL) { if (copy_bytes == skb->len) {