rds: fix a leak of kernel memory
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 16 Aug 2010 03:25:00 +0000 (03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 06:40:03 +0000 (23:40 -0700)
commitf037590fff3005ce8a1513858d7d44f50053cc8f
tree5ea1d9356272524e9ebc6c30e2ab4ad06ed6b0e6
parent68d6ac6d2740b6a55f3ae92a4e0be6d881904b32
rds: fix a leak of kernel memory

struct rds_rdma_notify contains a 32 bits hole on 64bit arches,
make sure it is zeroed before copying it to user.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/recv.c