aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 35ffbdd35d3e..dc4b92b8abea 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1088,7 +1088,7 @@ static inline int skb_copy_to_page(struct sock *sk, char __user *from,
1088{ 1088{
1089 if (skb->ip_summed == CHECKSUM_NONE) { 1089 if (skb->ip_summed == CHECKSUM_NONE) {
1090 int err = 0; 1090 int err = 0;
1091 unsigned int csum = csum_and_copy_from_user(from, 1091 __wsum csum = csum_and_copy_from_user(from,
1092 page_address(page) + off, 1092 page_address(page) + off,
1093 copy, 0, &err); 1093 copy, 0, &err);
1094 if (err) 1094 if (err)