RDS: update copy_to_user state in tcp transport
authorAndy Grover <andy.grover@oracle.com>
Thu, 11 Mar 2010 13:49:57 +0000 (13:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:16:54 +0000 (21:16 -0700)
commitb075cfdb666d6fa90c55c8619186398a3c4fd865
treea63ed941bccb9910978519350c1c14704706c58b
parent1123fd734df6ad82373a5a27f0f2ed3115555b9d
RDS: update copy_to_user state in tcp transport

Other transports use rds_page_copy_user, which updates our
s_copy_to_user counter. TCP doesn't, so it needs to explicity
call rds_stats_add().

Reported-by: Richard Frank <richard.frank@oracle.com>
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp_recv.c