]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf28c7004e8da6cf6ad44afcd4e0d50439dd52894
tree20ccf7f98ac5d1aabbc706fa876e8f361219db97
parent6ddb7f06030a8303a3442a69ee6a5284514d7968
[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