]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3af418145c37a16c217402f9e21d96aa41cd19c
treea63ed941bccb9910978519350c1c14704706c58b
parentf198826edd331a0dbd2b0cb175d69e5df8a40fd0
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