Subject: [PATCH] tcp: don't allow unfair congestion control to be built without warning

From: Stephen Hemminger <[email-masked]>
Date: Fri, 27 Oct 2006 10:30:16 -0700

My proposed method restricting TCP choices to fair algorithms.
This a net wide, not system wide issue, it should not be done
by kernel policy choice (capability), but by a build choice.

--- sky2.orig/net/ipv4/Kconfig	2006-10-27 10:10:47.000000000 -0700
+++ sky2/net/ipv4/Kconfig	2006-10-27 10:15:56.000000000 -0700
@@ -470,6 +470,16 @@
 
 if TCP_CONG_ADVANCED
 
+config TCP_CONG_UNFAIR
+        bool "Allow unfair congestion control algorithms"
+	depends on EXPERIMENTAL
+        ---help---
+	  Some of the congestion control algorithms are for testing
+	  and research purposes and should not deployed on public
+	  networks because of the possiblity of unfair behavior.
+	  These algorithms may be useful for future development
+	  or comparison purposes.
+
 config TCP_CONG_BIC
 	tristate "Binary Increase Congestion (BIC) control"
 	default m
@@ -551,7 +561,7 @@
 
 config TCP_CONG_SCALABLE
 	tristate "Scalable TCP"
-	depends on EXPERIMENTAL
+	depends on TCP_CONG_UNFAIR
 	default n
 	---help---
 	Scalable TCP is a sender-side only change to TCP which uses a