aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/tcp_recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/tcp_recv.c')
-rw-r--r--net/rds/tcp_recv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/tcp_recv.c b/net/rds/tcp_recv.c
index c00dafffbb5a..40bfcf887465 100644
--- a/net/rds/tcp_recv.c
+++ b/net/rds/tcp_recv.c
@@ -97,6 +97,7 @@ int rds_tcp_inc_copy_to_user(struct rds_incoming *inc, struct iovec *first_iov,
97 goto out; 97 goto out;
98 } 98 }
99 99
100 rds_stats_add(s_copy_to_user, to_copy);
100 size -= to_copy; 101 size -= to_copy;
101 ret += to_copy; 102 ret += to_copy;
102 skb_off += to_copy; 103 skb_off += to_copy;