<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/net/sched, branch v2.6.23</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>[PKT_SCHED] cls_u32: error code isn't been propogated properly</title>
<updated>2007-10-08T06:57:45+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@linux-foundation.org</email>
</author>
<published>2007-10-08T06:57:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bf1b803b01b00c3801e0aa373ba0305f8278e260'/>
<id>bf1b803b01b00c3801e0aa373ba0305f8278e260</id>
<content type='text'>
    
Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    
Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SFQ]: Remove artificial limitation for queue limit.</title>
<updated>2007-10-02T04:01:23+00:00</updated>
<author>
<name>Alexey Kuznetsov</name>
<email>kaber@ms2.inr.ac.ru</email>
</author>
<published>2007-10-01T00:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=32740ddc1095e5e320bf961dda146bf97bc28adb'/>
<id>32740ddc1095e5e320bf961dda146bf97bc28adb</id>
<content type='text'>
This is followup to Patrick's patch. A little optimization to enqueue
routine allows to remove artificial limitation on queue length.

Plus, testing showed that hash function used by SFQ is too bad or even worse.
It does not even sweep the whole range of hash values.
Switched to Jenkins' hash.

Signed-off-by: Alexey Kuznetsov &lt;kaber@ms2.inr.ac.ru&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is followup to Patrick's patch. A little optimization to enqueue
routine allows to remove artificial limitation on queue length.

Plus, testing showed that hash function used by SFQ is too bad or even worse.
It does not even sweep the whole range of hash values.
Switched to Jenkins' hash.

Signed-off-by: Alexey Kuznetsov &lt;kaber@ms2.inr.ac.ru&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PKT_SCHED]: Fix 'SFQ qdisc crashes with limit of 2 packets'</title>
<updated>2007-09-20T19:14:08+00:00</updated>
<author>
<name>Alexey Kuznetsov</name>
<email>kuznet@ms2.inr.ac.ru</email>
</author>
<published>2007-09-19T17:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5588b40d7c2bff75ee573ed42d1738c73ce24492'/>
<id>5588b40d7c2bff75ee573ed42d1738c73ce24492</id>
<content type='text'>
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PKT_SCHED]: sch_cbq.c: Shut up uninitialized variable warning</title>
<updated>2007-09-16T21:54:05+00:00</updated>
<author>
<name>Satyam Sharma</name>
<email>satyam@infradead.org</email>
</author>
<published>2007-09-16T21:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ddeee3ce7fbf0e800f2a26a76d6018b42b337cc2'/>
<id>ddeee3ce7fbf0e800f2a26a76d6018b42b337cc2</id>
<content type='text'>
net/sched/sch_cbq.c: In function 'cbq_enqueue':
net/sched/sch_cbq.c:383: warning: 'ret' may be used uninitialized in this function

has been verified to be a bogus case. So let's shut it up.

Signed-off-by: Satyam Sharma &lt;satyam@infradead.org&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
net/sched/sch_cbq.c: In function 'cbq_enqueue':
net/sched/sch_cbq.c:383: warning: 'ret' may be used uninitialized in this function

has been verified to be a bogus case. So let's shut it up.

Signed-off-by: Satyam Sharma &lt;satyam@infradead.org&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET_SCHED] protect action config/dump from irqs</title>
<updated>2007-09-14T23:43:05+00:00</updated>
<author>
<name>Jamal Hadi Salim</name>
<email>hadi@cyberus.ca</email>
</author>
<published>2007-09-12T14:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e1e992e52faa588667e1378a2573b4b8e3fa6670'/>
<id>e1e992e52faa588667e1378a2573b4b8e3fa6670</id>
<content type='text'>
(with no apologies to C Heston)

On Mon, 2007-10-09 at 21:00 +0800, Herbert Xu wrote:
On Sun, Sep 02, 2007 at 01:11:29PM +0000, Christian Kujau wrote:
&gt; &gt;
&gt; &gt; after upgrading to 2.6.23-rc5 (and applying davem's fix [0]), lockdep
&gt; &gt; was quite noisy when I tried to shape my external (wireless) interface:
&gt; &gt;
&gt; &gt; [ 6400.534545] FahCore_78.exe/3552 just changed the state of lock:
&gt; &gt; [ 6400.534713]  (&amp;dev-&gt;ingress_lock){-+..}, at: [&lt;c038d595&gt;]
&gt; &gt; netif_receive_skb+0x2d5/0x3c0
&gt; &gt; [ 6400.534941] but this lock took another, soft-read-irq-unsafe lock in the
&gt; &gt; past:
&gt; &gt; [ 6400.535145]  (police_lock){-.--}
&gt;
&gt; This is a genuine dead-lock.  The police lock can be taken
&gt; for reading with softirqs on.  If a second CPU tries to take
&gt; the police lock for writing, while holding the ingress lock,
&gt; then a softirq on the first CPU can dead-lock when it tries
&gt; to get the ingress lock.

Signed-off-by: Jamal Hadi Salim &lt;hadi@cyberus.ca&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(with no apologies to C Heston)

On Mon, 2007-10-09 at 21:00 +0800, Herbert Xu wrote:
On Sun, Sep 02, 2007 at 01:11:29PM +0000, Christian Kujau wrote:
&gt; &gt;
&gt; &gt; after upgrading to 2.6.23-rc5 (and applying davem's fix [0]), lockdep
&gt; &gt; was quite noisy when I tried to shape my external (wireless) interface:
&gt; &gt;
&gt; &gt; [ 6400.534545] FahCore_78.exe/3552 just changed the state of lock:
&gt; &gt; [ 6400.534713]  (&amp;dev-&gt;ingress_lock){-+..}, at: [&lt;c038d595&gt;]
&gt; &gt; netif_receive_skb+0x2d5/0x3c0
&gt; &gt; [ 6400.534941] but this lock took another, soft-read-irq-unsafe lock in the
&gt; &gt; past:
&gt; &gt; [ 6400.535145]  (police_lock){-.--}
&gt;
&gt; This is a genuine dead-lock.  The police lock can be taken
&gt; for reading with softirqs on.  If a second CPU tries to take
&gt; the police lock for writing, while holding the ingress lock,
&gt; then a softirq on the first CPU can dead-lock when it tries
&gt; to get the ingress lock.

Signed-off-by: Jamal Hadi Salim &lt;hadi@cyberus.ca&gt;
Acked-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET_SCHED] sch_prio.c: remove duplicate call of tc_classify()</title>
<updated>2007-08-31T05:35:46+00:00</updated>
<author>
<name>Lucas Nussbaum</name>
<email>lucas.nussbaum@imag.fr</email>
</author>
<published>2007-08-31T05:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=dbaaa07a60edf71670b484a65e14400ab40c84f7'/>
<id>dbaaa07a60edf71670b484a65e14400ab40c84f7</id>
<content type='text'>
When CONFIG_NET_CLS_ACT is enabled, tc_classify() is called twice in
prio_classify(). This causes "interesting" behaviour: with the setup
below, packets are duplicated, sent twice to ifb0, and then loop in and
out of ifb0.

The patch uses the previously calculated return value in the switch,
which is probably what Patrick had in mind in commit
bdba91ec70fb5ccbdeb1c7068319adc6ea9e1a7d -- maybe Patrick can
double-check this?

-- example setup --
ifconfig ifb0 up
tc qdisc add dev ifb0 root netem delay 2s
tc qdisc add dev $ETH root handle 1: prio
tc filter add dev $ETH parent 1: protocol ip prio 10 u32 \
 match ip dst 172.24.110.6/32 flowid 1:1 \
 action mirred egress redirect dev ifb0
ping -c1 172.24.110.6

Signed-off-by: Lucas Nussbaum &lt;lucas.nussbaum@imag.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When CONFIG_NET_CLS_ACT is enabled, tc_classify() is called twice in
prio_classify(). This causes "interesting" behaviour: with the setup
below, packets are duplicated, sent twice to ifb0, and then loop in and
out of ifb0.

The patch uses the previously calculated return value in the switch,
which is probably what Patrick had in mind in commit
bdba91ec70fb5ccbdeb1c7068319adc6ea9e1a7d -- maybe Patrick can
double-check this?

-- example setup --
ifconfig ifb0 up
tc qdisc add dev ifb0 root netem delay 2s
tc qdisc add dev $ETH root handle 1: prio
tc filter add dev $ETH parent 1: protocol ip prio 10 u32 \
 match ip dst 172.24.110.6/32 flowid 1:1 \
 action mirred egress redirect dev ifb0
ping -c1 172.24.110.6

Signed-off-by: Lucas Nussbaum &lt;lucas.nussbaum@imag.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PKT_SCHED]: Clean up duplicate includes in net/sched/</title>
<updated>2007-08-14T05:52:04+00:00</updated>
<author>
<name>Jesper Juhl</name>
<email>jesper.juhl@gmail.com</email>
</author>
<published>2007-08-10T22:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0a26f4cdc207db14a8e7192bac5a7c84d9e2390a'/>
<id>0a26f4cdc207db14a8e7192bac5a7c84d9e2390a</id>
<content type='text'>
This patch cleans up duplicate includes in
	net/sched/

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch cleans up duplicate includes in
	net/sched/

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: Fix prio_tune() handling of root qdisc.</title>
<updated>2007-07-31T09:28:20+00:00</updated>
<author>
<name>Peter P Waskiewicz Jr</name>
<email>peter.p.waskiewicz.jr@intel.com</email>
</author>
<published>2007-07-31T00:13:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0773192b0f8914222cd27e682c49f978a6c7860a'/>
<id>0773192b0f8914222cd27e682c49f978a6c7860a</id>
<content type='text'>
Fix the check in prio_tune() to see if sch-&gt;parent is TC_H_ROOT instead of
sch-&gt;handle to load or reject the qdisc for multiqueue devices.

Signed-off-by: Peter P Waskiewicz Jr &lt;peter.p.waskiewicz.jr@intel.com&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the check in prio_tune() to see if sch-&gt;parent is TC_H_ROOT instead of
sch-&gt;handle to load or reject the qdisc for multiqueue devices.

Signed-off-by: Peter P Waskiewicz Jr &lt;peter.p.waskiewicz.jr@intel.com&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: Fix sch_api to properly set sch-&gt;parent on the root.</title>
<updated>2007-07-31T09:28:19+00:00</updated>
<author>
<name>Patrick McHardy</name>
<email>trash@kaber.net</email>
</author>
<published>2007-07-31T00:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ffc8fefaf289fa485bc5c33e71572e6ce559d569'/>
<id>ffc8fefaf289fa485bc5c33e71572e6ce559d569</id>
<content type='text'>
Fix sch_api to correctly set sch-&gt;parent for both ingress and egress
qdiscs in qdisc_create().

Signed-off-by: Patrick McHardy &lt;trash@kaber.net&gt;
Signed-off-by: Peter P Waskiewicz Jr &lt;peter.p.waskiewicz.jr@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix sch_api to correctly set sch-&gt;parent for both ingress and egress
qdiscs in qdisc_create().

Signed-off-by: Patrick McHardy &lt;trash@kaber.net&gt;
Signed-off-by: Peter P Waskiewicz Jr &lt;peter.p.waskiewicz.jr@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET_SCHED]: Fix prio/ingress classification logic error</title>
<updated>2007-07-31T09:28:18+00:00</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2007-07-31T00:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bdba91ec70fb5ccbdeb1c7068319adc6ea9e1a7d'/>
<id>bdba91ec70fb5ccbdeb1c7068319adc6ea9e1a7d</id>
<content type='text'>
Fix handling of empty or completely non-matching filter chains. In
that case -1 is returned and tcf_result is uninitialized, the
qdisc should fall back to default classification in that case.

Noticed by PJ Waskiewicz &lt;peter.p.waskiewicz.jr@intel.com&gt;.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix handling of empty or completely non-matching filter chains. In
that case -1 is returned and tcf_result is uninitialized, the
qdisc should fall back to default classification in that case.

Noticed by PJ Waskiewicz &lt;peter.p.waskiewicz.jr@intel.com&gt;.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
