rds: signedness bug
authorDan Carpenter <error27@gmail.com>
Sat, 18 Sep 2010 13:42:25 +0000 (13:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Sep 2010 18:59:43 +0000 (11:59 -0700)
In the original code if the copy_from_user() fails in rds_rdma_pages()
then the error handling fails and we get a stack trace from kmalloc().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found