]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sunrpc/socklib.c
[PATCH] proc: remove the useless SMP-safe comments from /proc
[linux-2.6-omap-h63xx.git] / net / sunrpc / socklib.c
index eb330d4f66d6ce79afb9a7badcc0706429abc127..6f17527b9e695684038b2824443e2ab6a80a550e 100644 (file)
@@ -168,7 +168,7 @@ int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb)
                return -1;
        if ((unsigned short)csum_fold(desc.csum))
                return -1;
-       if (unlikely(skb->ip_summed == CHECKSUM_HW))
+       if (unlikely(skb->ip_summed == CHECKSUM_COMPLETE))
                netdev_rx_csum_fault(skb->dev);
        return 0;
 no_checksum: