diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-17 20:26:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-17 20:26:26 -0500 |
commit | 42f9cabebe5915351bdba2f6f7f80e47c68e6ac8 (patch) | |
tree | ae7487319d876ce736430a97a178af557fe2a189 | |
parent | 976164497d6d8050403c96894ad418de44ec748f (diff) | |
parent | 9e147a1cfce5ec6308b024abe425d5b4e1884a03 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_ftp.c | 4 | ||||
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_irc.c | 4 | ||||
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_tftp.c | 4 | ||||
-rw-r--r-- | net/ipv4/tcp_highspeed.c | 2 | ||||
-rw-r--r-- | net/ipv6/route.c | 2 | ||||
-rw-r--r-- | net/llc/llc_c_ac.c | 8 | ||||
-rw-r--r-- | net/sched/Kconfig | 37 |
7 files changed, 20 insertions, 41 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_ftp.c b/net/ipv4/netfilter/ip_conntrack_ftp.c index d77d6b3f5f80..59e12b02b22c 100644 --- a/net/ipv4/netfilter/ip_conntrack_ftp.c +++ b/net/ipv4/netfilter/ip_conntrack_ftp.c | |||
@@ -29,9 +29,9 @@ static char *ftp_buffer; | |||
29 | static DEFINE_SPINLOCK(ip_ftp_lock); | 29 | static DEFINE_SPINLOCK(ip_ftp_lock); |
30 | 30 | ||
31 | #define MAX_PORTS 8 | 31 | #define MAX_PORTS 8 |
32 | static short ports[MAX_PORTS]; | 32 | static unsigned short ports[MAX_PORTS]; |
33 | static int ports_c; | 33 | static int ports_c; |
34 | module_param_array(ports, short, &ports_c, 0400); | 34 | module_param_array(ports, ushort, &ports_c, 0400); |
35 | 35 | ||
36 | static int loose; | 36 | static int loose; |
37 | module_param(loose, int, 0600); | 37 | module_param(loose, int, 0600); |
diff --git a/net/ipv4/netfilter/ip_conntrack_irc.c b/net/ipv4/netfilter/ip_conntrack_irc.c index 15457415a4f3..2dea1db14406 100644 --- a/net/ipv4/netfilter/ip_conntrack_irc.c +++ b/net/ipv4/netfilter/ip_conntrack_irc.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/moduleparam.h> | 34 | #include <linux/moduleparam.h> |
35 | 35 | ||
36 | #define MAX_PORTS 8 | 36 | #define MAX_PORTS 8 |
37 | static short ports[MAX_PORTS]; | 37 | static unsigned short ports[MAX_PORTS]; |
38 | static int ports_c; | 38 | static int ports_c; |
39 | static int max_dcc_channels = 8; | 39 | static int max_dcc_channels = 8; |
40 | static unsigned int dcc_timeout = 300; | 40 | static unsigned int dcc_timeout = 300; |
@@ -52,7 +52,7 @@ EXPORT_SYMBOL_GPL(ip_nat_irc_hook); | |||
52 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); | 52 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); |
53 | MODULE_DESCRIPTION("IRC (DCC) connection tracking helper"); | 53 | MODULE_DESCRIPTION("IRC (DCC) connection tracking helper"); |
54 | MODULE_LICENSE("GPL"); | 54 | MODULE_LICENSE("GPL"); |
55 | module_param_array(ports, short, &ports_c, 0400); | 55 | module_param_array(ports, ushort, &ports_c, 0400); |
56 | MODULE_PARM_DESC(ports, "port numbers of IRC servers"); | 56 | MODULE_PARM_DESC(ports, "port numbers of IRC servers"); |
57 | module_param(max_dcc_channels, int, 0400); | 57 | module_param(max_dcc_channels, int, 0400); |
58 | MODULE_PARM_DESC(max_dcc_channels, "max number of expected DCC channels per IRC session"); | 58 | MODULE_PARM_DESC(max_dcc_channels, "max number of expected DCC channels per IRC session"); |
diff --git a/net/ipv4/netfilter/ip_conntrack_tftp.c b/net/ipv4/netfilter/ip_conntrack_tftp.c index a78736b8525d..d3c5a371f993 100644 --- a/net/ipv4/netfilter/ip_conntrack_tftp.c +++ b/net/ipv4/netfilter/ip_conntrack_tftp.c | |||
@@ -26,9 +26,9 @@ MODULE_DESCRIPTION("tftp connection tracking helper"); | |||
26 | MODULE_LICENSE("GPL"); | 26 | MODULE_LICENSE("GPL"); |
27 | 27 | ||
28 | #define MAX_PORTS 8 | 28 | #define MAX_PORTS 8 |
29 | static short ports[MAX_PORTS]; | 29 | static unsigned short ports[MAX_PORTS]; |
30 | static int ports_c; | 30 | static int ports_c; |
31 | module_param_array(ports, short, &ports_c, 0400); | 31 | module_param_array(ports, ushort, &ports_c, 0400); |
32 | MODULE_PARM_DESC(ports, "port numbers of tftp servers"); | 32 | MODULE_PARM_DESC(ports, "port numbers of tftp servers"); |
33 | 33 | ||
34 | #if 0 | 34 | #if 0 |
diff --git a/net/ipv4/tcp_highspeed.c b/net/ipv4/tcp_highspeed.c index 82b3c189bd7d..63cf7e540847 100644 --- a/net/ipv4/tcp_highspeed.c +++ b/net/ipv4/tcp_highspeed.c | |||
@@ -111,7 +111,7 @@ static void hstcp_init(struct sock *sk) | |||
111 | } | 111 | } |
112 | 112 | ||
113 | static void hstcp_cong_avoid(struct sock *sk, u32 adk, u32 rtt, | 113 | static void hstcp_cong_avoid(struct sock *sk, u32 adk, u32 rtt, |
114 | u32 in_flight, u32 pkts_acked) | 114 | u32 in_flight, int data_acked) |
115 | { | 115 | { |
116 | struct tcp_sock *tp = tcp_sk(sk); | 116 | struct tcp_sock *tp = tcp_sk(sk); |
117 | struct hstcp *ca = inet_csk_ca(sk); | 117 | struct hstcp *ca = inet_csk_ca(sk); |
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 9a71a8d1078a..a7a537b50595 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -1732,7 +1732,7 @@ int inet6_dump_fib(struct sk_buff *skb, struct netlink_callback *cb) | |||
1732 | /* | 1732 | /* |
1733 | * 2. allocate and initialize walker. | 1733 | * 2. allocate and initialize walker. |
1734 | */ | 1734 | */ |
1735 | w = kmalloc(sizeof(*w), GFP_KERNEL); | 1735 | w = kmalloc(sizeof(*w), GFP_ATOMIC); |
1736 | if (w == NULL) | 1736 | if (w == NULL) |
1737 | return -ENOMEM; | 1737 | return -ENOMEM; |
1738 | RT6_TRACE("dump<%p", w); | 1738 | RT6_TRACE("dump<%p", w); |
diff --git a/net/llc/llc_c_ac.c b/net/llc/llc_c_ac.c index 91fb6bc1b116..8169f24ed33e 100644 --- a/net/llc/llc_c_ac.c +++ b/net/llc/llc_c_ac.c | |||
@@ -995,8 +995,8 @@ static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb) | |||
995 | llc->dec_step = 0; | 995 | llc->dec_step = 0; |
996 | llc->dec_cntr = llc->inc_cntr = 2; | 996 | llc->dec_cntr = llc->inc_cntr = 2; |
997 | ++llc->npta; | 997 | ++llc->npta; |
998 | if (llc->npta > ~LLC_2_SEQ_NBR_MODULO) | 998 | if (llc->npta > (u8) ~LLC_2_SEQ_NBR_MODULO) |
999 | llc->npta = ~LLC_2_SEQ_NBR_MODULO ; | 999 | llc->npta = (u8) ~LLC_2_SEQ_NBR_MODULO; |
1000 | } else | 1000 | } else |
1001 | --llc->inc_cntr; | 1001 | --llc->inc_cntr; |
1002 | return 0; | 1002 | return 0; |
@@ -1086,8 +1086,8 @@ int llc_conn_ac_inc_tx_win_size(struct sock *sk, struct sk_buff *skb) | |||
1086 | struct llc_sock *llc = llc_sk(sk); | 1086 | struct llc_sock *llc = llc_sk(sk); |
1087 | 1087 | ||
1088 | llc->k += 1; | 1088 | llc->k += 1; |
1089 | if (llc->k > ~LLC_2_SEQ_NBR_MODULO) | 1089 | if (llc->k > (u8) ~LLC_2_SEQ_NBR_MODULO) |
1090 | llc->k = ~LLC_2_SEQ_NBR_MODULO ; | 1090 | llc->k = (u8) ~LLC_2_SEQ_NBR_MODULO; |
1091 | return 0; | 1091 | return 0; |
1092 | } | 1092 | } |
1093 | 1093 | ||
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index 7f34e7fd767c..55cd5327fbd7 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig | |||
@@ -40,9 +40,10 @@ config NET_SCHED | |||
40 | The available schedulers are listed in the following questions; you | 40 | The available schedulers are listed in the following questions; you |
41 | can say Y to as many as you like. If unsure, say N now. | 41 | can say Y to as many as you like. If unsure, say N now. |
42 | 42 | ||
43 | if NET_SCHED | ||
44 | |||
43 | choice | 45 | choice |
44 | prompt "Packet scheduler clock source" | 46 | prompt "Packet scheduler clock source" |
45 | depends on NET_SCHED | ||
46 | default NET_SCH_CLK_JIFFIES | 47 | default NET_SCH_CLK_JIFFIES |
47 | ---help--- | 48 | ---help--- |
48 | Packet schedulers need a monotonic clock that increments at a static | 49 | Packet schedulers need a monotonic clock that increments at a static |
@@ -98,11 +99,9 @@ config NET_SCH_CLK_CPU | |||
98 | endchoice | 99 | endchoice |
99 | 100 | ||
100 | comment "Queueing/Scheduling" | 101 | comment "Queueing/Scheduling" |
101 | depends on NET_SCHED | ||
102 | 102 | ||
103 | config NET_SCH_CBQ | 103 | config NET_SCH_CBQ |
104 | tristate "Class Based Queueing (CBQ)" | 104 | tristate "Class Based Queueing (CBQ)" |
105 | depends on NET_SCHED | ||
106 | ---help--- | 105 | ---help--- |
107 | Say Y here if you want to use the Class-Based Queueing (CBQ) packet | 106 | Say Y here if you want to use the Class-Based Queueing (CBQ) packet |
108 | scheduling algorithm. This algorithm classifies the waiting packets | 107 | scheduling algorithm. This algorithm classifies the waiting packets |
@@ -120,7 +119,6 @@ config NET_SCH_CBQ | |||
120 | 119 | ||
121 | config NET_SCH_HTB | 120 | config NET_SCH_HTB |
122 | tristate "Hierarchical Token Bucket (HTB)" | 121 | tristate "Hierarchical Token Bucket (HTB)" |
123 | depends on NET_SCHED | ||
124 | ---help--- | 122 | ---help--- |
125 | Say Y here if you want to use the Hierarchical Token Buckets (HTB) | 123 | Say Y here if you want to use the Hierarchical Token Buckets (HTB) |
126 | packet scheduling algorithm. See | 124 | packet scheduling algorithm. See |
@@ -135,7 +133,6 @@ config NET_SCH_HTB | |||
135 | 133 | ||
136 | config NET_SCH_HFSC | 134 | config NET_SCH_HFSC |
137 | tristate "Hierarchical Fair Service Curve (HFSC)" | 135 | tristate "Hierarchical Fair Service Curve (HFSC)" |
138 | depends on NET_SCHED | ||
139 | ---help--- | 136 | ---help--- |
140 | Say Y here if you want to use the Hierarchical Fair Service Curve | 137 | Say Y here if you want to use the Hierarchical Fair Service Curve |
141 | (HFSC) packet scheduling algorithm. | 138 | (HFSC) packet scheduling algorithm. |
@@ -145,7 +142,7 @@ config NET_SCH_HFSC | |||
145 | 142 | ||
146 | config NET_SCH_ATM | 143 | config NET_SCH_ATM |
147 | tristate "ATM Virtual Circuits (ATM)" | 144 | tristate "ATM Virtual Circuits (ATM)" |
148 | depends on NET_SCHED && ATM | 145 | depends on ATM |
149 | ---help--- | 146 | ---help--- |
150 | Say Y here if you want to use the ATM pseudo-scheduler. This | 147 | Say Y here if you want to use the ATM pseudo-scheduler. This |
151 | provides a framework for invoking classifiers, which in turn | 148 | provides a framework for invoking classifiers, which in turn |
@@ -159,7 +156,6 @@ config NET_SCH_ATM | |||
159 | 156 | ||
160 | config NET_SCH_PRIO | 157 | config NET_SCH_PRIO |
161 | tristate "Multi Band Priority Queueing (PRIO)" | 158 | tristate "Multi Band Priority Queueing (PRIO)" |
162 | depends on NET_SCHED | ||
163 | ---help--- | 159 | ---help--- |
164 | Say Y here if you want to use an n-band priority queue packet | 160 | Say Y here if you want to use an n-band priority queue packet |
165 | scheduler. | 161 | scheduler. |
@@ -169,7 +165,6 @@ config NET_SCH_PRIO | |||
169 | 165 | ||
170 | config NET_SCH_RED | 166 | config NET_SCH_RED |
171 | tristate "Random Early Detection (RED)" | 167 | tristate "Random Early Detection (RED)" |
172 | depends on NET_SCHED | ||
173 | ---help--- | 168 | ---help--- |
174 | Say Y here if you want to use the Random Early Detection (RED) | 169 | Say Y here if you want to use the Random Early Detection (RED) |
175 | packet scheduling algorithm. | 170 | packet scheduling algorithm. |
@@ -181,7 +176,6 @@ config NET_SCH_RED | |||
181 | 176 | ||
182 | config NET_SCH_SFQ | 177 | config NET_SCH_SFQ |
183 | tristate "Stochastic Fairness Queueing (SFQ)" | 178 | tristate "Stochastic Fairness Queueing (SFQ)" |
184 | depends on NET_SCHED | ||
185 | ---help--- | 179 | ---help--- |
186 | Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) | 180 | Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) |
187 | packet scheduling algorithm . | 181 | packet scheduling algorithm . |
@@ -193,7 +187,6 @@ config NET_SCH_SFQ | |||
193 | 187 | ||
194 | config NET_SCH_TEQL | 188 | config NET_SCH_TEQL |
195 | tristate "True Link Equalizer (TEQL)" | 189 | tristate "True Link Equalizer (TEQL)" |
196 | depends on NET_SCHED | ||
197 | ---help--- | 190 | ---help--- |
198 | Say Y here if you want to use the True Link Equalizer (TLE) packet | 191 | Say Y here if you want to use the True Link Equalizer (TLE) packet |
199 | scheduling algorithm. This queueing discipline allows the combination | 192 | scheduling algorithm. This queueing discipline allows the combination |
@@ -206,7 +199,6 @@ config NET_SCH_TEQL | |||
206 | 199 | ||
207 | config NET_SCH_TBF | 200 | config NET_SCH_TBF |
208 | tristate "Token Bucket Filter (TBF)" | 201 | tristate "Token Bucket Filter (TBF)" |
209 | depends on NET_SCHED | ||
210 | ---help--- | 202 | ---help--- |
211 | Say Y here if you want to use the Token Bucket Filter (TBF) packet | 203 | Say Y here if you want to use the Token Bucket Filter (TBF) packet |
212 | scheduling algorithm. | 204 | scheduling algorithm. |
@@ -218,7 +210,6 @@ config NET_SCH_TBF | |||
218 | 210 | ||
219 | config NET_SCH_GRED | 211 | config NET_SCH_GRED |
220 | tristate "Generic Random Early Detection (GRED)" | 212 | tristate "Generic Random Early Detection (GRED)" |
221 | depends on NET_SCHED | ||
222 | ---help--- | 213 | ---help--- |
223 | Say Y here if you want to use the Generic Random Early Detection | 214 | Say Y here if you want to use the Generic Random Early Detection |
224 | (GRED) packet scheduling algorithm for some of your network devices | 215 | (GRED) packet scheduling algorithm for some of your network devices |
@@ -230,7 +221,6 @@ config NET_SCH_GRED | |||
230 | 221 | ||
231 | config NET_SCH_DSMARK | 222 | config NET_SCH_DSMARK |
232 | tristate "Differentiated Services marker (DSMARK)" | 223 | tristate "Differentiated Services marker (DSMARK)" |
233 | depends on NET_SCHED | ||
234 | ---help--- | 224 | ---help--- |
235 | Say Y if you want to schedule packets according to the | 225 | Say Y if you want to schedule packets according to the |
236 | Differentiated Services architecture proposed in RFC 2475. | 226 | Differentiated Services architecture proposed in RFC 2475. |
@@ -242,7 +232,6 @@ config NET_SCH_DSMARK | |||
242 | 232 | ||
243 | config NET_SCH_NETEM | 233 | config NET_SCH_NETEM |
244 | tristate "Network emulator (NETEM)" | 234 | tristate "Network emulator (NETEM)" |
245 | depends on NET_SCHED | ||
246 | ---help--- | 235 | ---help--- |
247 | Say Y if you want to emulate network delay, loss, and packet | 236 | Say Y if you want to emulate network delay, loss, and packet |
248 | re-ordering. This is often useful to simulate networks when | 237 | re-ordering. This is often useful to simulate networks when |
@@ -255,7 +244,6 @@ config NET_SCH_NETEM | |||
255 | 244 | ||
256 | config NET_SCH_INGRESS | 245 | config NET_SCH_INGRESS |
257 | tristate "Ingress Qdisc" | 246 | tristate "Ingress Qdisc" |
258 | depends on NET_SCHED | ||
259 | ---help--- | 247 | ---help--- |
260 | Say Y here if you want to use classifiers for incoming packets. | 248 | Say Y here if you want to use classifiers for incoming packets. |
261 | If unsure, say Y. | 249 | If unsure, say Y. |
@@ -264,14 +252,12 @@ config NET_SCH_INGRESS | |||
264 | module will be called sch_ingress. | 252 | module will be called sch_ingress. |
265 | 253 | ||
266 | comment "Classification" | 254 | comment "Classification" |
267 | depends on NET_SCHED | ||
268 | 255 | ||
269 | config NET_CLS | 256 | config NET_CLS |
270 | boolean | 257 | boolean |
271 | 258 | ||
272 | config NET_CLS_BASIC | 259 | config NET_CLS_BASIC |
273 | tristate "Elementary classification (BASIC)" | 260 | tristate "Elementary classification (BASIC)" |
274 | depends NET_SCHED | ||
275 | select NET_CLS | 261 | select NET_CLS |
276 | ---help--- | 262 | ---help--- |
277 | Say Y here if you want to be able to classify packets using | 263 | Say Y here if you want to be able to classify packets using |
@@ -282,7 +268,6 @@ config NET_CLS_BASIC | |||
282 | 268 | ||
283 | config NET_CLS_TCINDEX | 269 | config NET_CLS_TCINDEX |
284 | tristate "Traffic-Control Index (TCINDEX)" | 270 | tristate "Traffic-Control Index (TCINDEX)" |
285 | depends NET_SCHED | ||
286 | select NET_CLS | 271 | select NET_CLS |
287 | ---help--- | 272 | ---help--- |
288 | Say Y here if you want to be able to classify packets based on | 273 | Say Y here if you want to be able to classify packets based on |
@@ -294,7 +279,6 @@ config NET_CLS_TCINDEX | |||
294 | 279 | ||
295 | config NET_CLS_ROUTE4 | 280 | config NET_CLS_ROUTE4 |
296 | tristate "Routing decision (ROUTE)" | 281 | tristate "Routing decision (ROUTE)" |
297 | depends NET_SCHED | ||
298 | select NET_CLS_ROUTE | 282 | select NET_CLS_ROUTE |
299 | select NET_CLS | 283 | select NET_CLS |
300 | ---help--- | 284 | ---help--- |
@@ -306,11 +290,9 @@ config NET_CLS_ROUTE4 | |||
306 | 290 | ||
307 | config NET_CLS_ROUTE | 291 | config NET_CLS_ROUTE |
308 | bool | 292 | bool |
309 | default n | ||
310 | 293 | ||
311 | config NET_CLS_FW | 294 | config NET_CLS_FW |
312 | tristate "Netfilter mark (FW)" | 295 | tristate "Netfilter mark (FW)" |
313 | depends NET_SCHED | ||
314 | select NET_CLS | 296 | select NET_CLS |
315 | ---help--- | 297 | ---help--- |
316 | If you say Y here, you will be able to classify packets | 298 | If you say Y here, you will be able to classify packets |
@@ -321,7 +303,6 @@ config NET_CLS_FW | |||
321 | 303 | ||
322 | config NET_CLS_U32 | 304 | config NET_CLS_U32 |
323 | tristate "Universal 32bit comparisons w/ hashing (U32)" | 305 | tristate "Universal 32bit comparisons w/ hashing (U32)" |
324 | depends NET_SCHED | ||
325 | select NET_CLS | 306 | select NET_CLS |
326 | ---help--- | 307 | ---help--- |
327 | Say Y here to be able to classify packetes using a universal | 308 | Say Y here to be able to classify packetes using a universal |
@@ -345,7 +326,6 @@ config CLS_U32_MARK | |||
345 | 326 | ||
346 | config NET_CLS_RSVP | 327 | config NET_CLS_RSVP |
347 | tristate "IPv4 Resource Reservation Protocol (RSVP)" | 328 | tristate "IPv4 Resource Reservation Protocol (RSVP)" |
348 | depends on NET_SCHED | ||
349 | select NET_CLS | 329 | select NET_CLS |
350 | select NET_ESTIMATOR | 330 | select NET_ESTIMATOR |
351 | ---help--- | 331 | ---help--- |
@@ -361,7 +341,6 @@ config NET_CLS_RSVP | |||
361 | 341 | ||
362 | config NET_CLS_RSVP6 | 342 | config NET_CLS_RSVP6 |
363 | tristate "IPv6 Resource Reservation Protocol (RSVP6)" | 343 | tristate "IPv6 Resource Reservation Protocol (RSVP6)" |
364 | depends on NET_SCHED | ||
365 | select NET_CLS | 344 | select NET_CLS |
366 | select NET_ESTIMATOR | 345 | select NET_ESTIMATOR |
367 | ---help--- | 346 | ---help--- |
@@ -377,7 +356,6 @@ config NET_CLS_RSVP6 | |||
377 | 356 | ||
378 | config NET_EMATCH | 357 | config NET_EMATCH |
379 | bool "Extended Matches" | 358 | bool "Extended Matches" |
380 | depends NET_SCHED | ||
381 | select NET_CLS | 359 | select NET_CLS |
382 | ---help--- | 360 | ---help--- |
383 | Say Y here if you want to use extended matches on top of classifiers | 361 | Say Y here if you want to use extended matches on top of classifiers |
@@ -456,7 +434,7 @@ config NET_EMATCH_TEXT | |||
456 | 434 | ||
457 | config NET_CLS_ACT | 435 | config NET_CLS_ACT |
458 | bool "Actions" | 436 | bool "Actions" |
459 | depends on EXPERIMENTAL && NET_SCHED | 437 | depends on EXPERIMENTAL |
460 | select NET_ESTIMATOR | 438 | select NET_ESTIMATOR |
461 | ---help--- | 439 | ---help--- |
462 | Say Y here if you want to use traffic control actions. Actions | 440 | Say Y here if you want to use traffic control actions. Actions |
@@ -539,7 +517,7 @@ config NET_ACT_SIMP | |||
539 | 517 | ||
540 | config NET_CLS_POLICE | 518 | config NET_CLS_POLICE |
541 | bool "Traffic Policing (obsolete)" | 519 | bool "Traffic Policing (obsolete)" |
542 | depends on NET_SCHED && NET_CLS_ACT!=y | 520 | depends on NET_CLS_ACT!=y |
543 | select NET_ESTIMATOR | 521 | select NET_ESTIMATOR |
544 | ---help--- | 522 | ---help--- |
545 | Say Y here if you want to do traffic policing, i.e. strict | 523 | Say Y here if you want to do traffic policing, i.e. strict |
@@ -549,7 +527,7 @@ config NET_CLS_POLICE | |||
549 | 527 | ||
550 | config NET_CLS_IND | 528 | config NET_CLS_IND |
551 | bool "Incoming device classification" | 529 | bool "Incoming device classification" |
552 | depends on NET_SCHED && (NET_CLS_U32 || NET_CLS_FW) | 530 | depends on NET_CLS_U32 || NET_CLS_FW |
553 | ---help--- | 531 | ---help--- |
554 | Say Y here to extend the u32 and fw classifier to support | 532 | Say Y here to extend the u32 and fw classifier to support |
555 | classification based on the incoming device. This option is | 533 | classification based on the incoming device. This option is |
@@ -557,11 +535,12 @@ config NET_CLS_IND | |||
557 | 535 | ||
558 | config NET_ESTIMATOR | 536 | config NET_ESTIMATOR |
559 | bool "Rate estimator" | 537 | bool "Rate estimator" |
560 | depends on NET_SCHED | ||
561 | ---help--- | 538 | ---help--- |
562 | Say Y here to allow using rate estimators to estimate the current | 539 | Say Y here to allow using rate estimators to estimate the current |
563 | rate-of-flow for network devices, queues, etc. This module is | 540 | rate-of-flow for network devices, queues, etc. This module is |
564 | automaticaly selected if needed but can be selected manually for | 541 | automaticaly selected if needed but can be selected manually for |
565 | statstical purposes. | 542 | statstical purposes. |
566 | 543 | ||
544 | endif # NET_SCHED | ||
545 | |||
567 | endmenu | 546 | endmenu |