]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commit9b9d2e00bfa592aceda7b43da76c670df61faa97
tree8412e35fd4e379c4075e09a8f23c245663f91e59
parent0746556beab1a57f1afb5c9d6f393d98528ce682
rds: signedness bug

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>
net/rds/rdma.c