ipv4: move local_port_range out of CONFIG_SYSCTL
authorCong Wang <xiyou.wangcong@gmail.com>
Tue, 6 May 2014 18:02:49 +0000 (11:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 02:50:47 +0000 (22:50 -0400)
When CONFIG_SYSCTL is not set, ip_local_port_range should still work,
just that no one can change it. Therefore we should move it out of sysctl_inet.c.
Also, rename it to ->ip_local_ports instead.

Cc: David S. Miller <davem@davemloft.net>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Reported-by: Stefan de Konink <stefan@konink.de>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found