]> err.no Git - linux-2.6/blobdiff - net/sunrpc/socklib.c
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
[linux-2.6] / net / sunrpc / socklib.c
index 634885b0c04dcc5e6e4909297b7368e73898086d..1d377d1ab7f4a5018a18a876f87e337c022346c3 100644 (file)
@@ -154,7 +154,7 @@ int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb)
        desc.offset = sizeof(struct udphdr);
        desc.count = skb->len - desc.offset;
 
-       if (skb->ip_summed == CHECKSUM_UNNECESSARY)
+       if (skb_csum_unnecessary(skb))
                goto no_checksum;
 
        desc.csum = csum_partial(skb->data, desc.offset, skb->csum);