Re: [PATCH] net: rds: use correct size for max unacked packets and bytes

From: David Miller
Date: Wed Feb 04 2015 - 19:08:39 EST


From: Sasha Levin <sasha.levin@xxxxxxxxxx>
Date: Tue, 3 Feb 2015 08:55:58 -0500

> Max unacked packets/bytes is an int while sizeof(long) was used in the
> sysctl table.
>
> This means that when they were getting read we'd also leak kernel memory
> to userspace along with the timeout values.
>
> Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/