projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a9981
)
af_rxrpc: Handle frames delivered from another VM
author
Tim Smith
<tim@electronghost.co.uk>
Sun, 26 Jan 2014 11:39:31 +0000
(11:39 +0000)
committer
David Howells
<dhowells@redhat.com>
Sun, 26 Jan 2014 11:45:04 +0000
(11:45 +0000)
On input, CHECKSUM_PARTIAL should be treated the same way as
CHECKSUM_UNNECESSARY. See include/linux/skbuff.h
Signed-off-by: Tim Smith <tim@electronghost.co.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-recvmsg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rxrpc/ar-recvmsg.c
b/net/rxrpc/ar-recvmsg.c
index 64cba2e35156adaa23ec24c5fb67657136172945..34b5490dde655ccdbac5dcbbc7b0df1b88ab42ca 100644
(file)
--- a/
net/rxrpc/ar-recvmsg.c
+++ b/
net/rxrpc/ar-recvmsg.c
@@
-180,7
+180,8
@@
int rxrpc_recvmsg(struct kiocb *iocb, struct socket *sock,
if (copy > len - copied)
copy = len - copied;
- if (skb->ip_summed == CHECKSUM_UNNECESSARY) {
+ if (skb->ip_summed == CHECKSUM_UNNECESSARY ||
+ skb->ip_summed == CHECKSUM_PARTIAL) {
ret = skb_copy_datagram_iovec(skb, offset,
msg->msg_iov, copy);
} else {