projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' into for-linus
[linux-2.6-microblaze.git]
/
net
/
sunrpc
/
socklib.c
diff --git
a/net/sunrpc/socklib.c
b/net/sunrpc/socklib.c
index
0a648c5
..
2df87f7
100644
(file)
--- a/
net/sunrpc/socklib.c
+++ b/
net/sunrpc/socklib.c
@@
-173,7
+173,8
@@
int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb)
return -1;
if (csum_fold(desc.csum))
return -1;
- if (unlikely(skb->ip_summed == CHECKSUM_COMPLETE))
+ if (unlikely(skb->ip_summed == CHECKSUM_COMPLETE) &&
+ !skb->csum_complete_sw)
netdev_rx_csum_fault(skb->dev);
return 0;
no_checksum: