net: llc: use correct size for sysctl timeout entries
commit6b8d9117ccb4f81b1244aafa7bc70ef8fa45fc49
authorSasha Levin <sasha.levin@oracle.com>
Sat, 24 Jan 2015 01:47:00 +0000 (23 20:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 08:23:21 +0000 (25 00:23 -0800)
tree348b8723a0f41a4bffbd739c4461f68c6d21fde3
parent6088beef3f7517717bd21d90b379714dd0837079
net: llc: use correct size for sysctl timeout entries

The timeout entries are sizeof(int) rather than sizeof(long), which
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@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/sysctl_net_llc.c