inet6: functions shadow global variable
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 28 Jul 2009 09:48:07 +0000 (09:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Aug 2009 19:54:30 +0000 (12:54 -0700)
commit81e43213882e62374c1a87f9d97d4287ed9f7257
treeae57fd6a2f3b963e5406ec45ac291d5640cedd97
parent8b97c7c283c5ba8f9f4dabd418fd7dcfcc8a387e
inet6: functions shadow global variable

This renames away a variable clash:
 * ipv6_table[] is declared as a static global table;
 * ipv6_sysctl_net_init() uses ipv6_table to refer/destroy dynamic memory;
 * ipv6_sysctl_net_exit() also uses ipv6_table for the same purpose;
 * both the two last functions call kfree() on ipv6_table.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sysctl_net_ipv6.c