[TCP]: Restrict congestion control choices.
authorStephen Hemminger <shemminger@osdl.org>
Fri, 10 Nov 2006 00:35:15 +0000 (16:35 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:21:49 +0000 (21:21 -0800)
commitce7bc3bf15cbf5dc5a5587ccb6b04c5b4dde4336
tree20ccf7f98ac5d1aabbc706fa876e8f361219db97
parent3ff825b28d3345ef381eceae22bf9d92231f23dc
[TCP]: Restrict congestion control choices.

Allow normal users to only choose among a restricted set of congestion
control choices.  The default is reno and what ever has been configured
as default. But the policy can be changed by administrator at any time.

For example, to allow any choice:
    cp /proc/sys/net/ipv4/tcp_available_congestion_control \
       /proc/sys/net/ipv4/tcp_allowed_congestion_control

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/linux/sysctl.h
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_cong.c