X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fsunrpc%2Fsocklib.c;h=6f17527b9e695684038b2824443e2ab6a80a550e;hb=a74554429eada89a7ddb47317e6a2968d03e41a2;hp=eb330d4f66d6ce79afb9a7badcc0706429abc127;hpb=9551583e55e26a0940894828c2d1066e9276325e;p=powerpc.git diff --git a/net/sunrpc/socklib.c b/net/sunrpc/socklib.c index eb330d4f66..6f17527b9e 100644 --- a/net/sunrpc/socklib.c +++ b/net/sunrpc/socklib.c @@ -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: