rds: fix a leak of kernel memory
commit3289b85e643814c06b3196bafeda3a44d4d75fe8
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 16 Aug 2010 03:25:00 +0000 (16 03:25 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:18:12 +0000 (26 17:18 -0700)
treef09ebaa02bc2da2bc6c4c7ecd7e838d7bbb667cf
parent2f2c0c6440110d7436f202ecf918734243e7b870
rds: fix a leak of kernel memory

[ Upstream commit f037590fff3005ce8a1513858d7d44f50053cc8f ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/rds/recv.c