<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/wan, branch v2.6.14</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>[IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl</title>
<updated>2005-10-03T21:35:55+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-10-03T21:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e5ed639913eea3e4783a550291775ab78dd84966'/>
<id>e5ed639913eea3e4783a550291775ab78dd84966</id>
<content type='text'>
The following patch renames __in_dev_get() to __in_dev_get_rtnl() and
introduces __in_dev_get_rcu() to cover the second case.

1) RCU with refcnt should use in_dev_get().
2) RCU without refcnt should use __in_dev_get_rcu().
3) All others must hold RTNL and use __in_dev_get_rtnl().

There is one exception in net/ipv4/route.c which is in fact a pre-existing
race condition.  I've marked it as such so that we remember to fix it.

This patch is based on suggestions and prior work by Suzanne Wood and
Paul McKenney.

Signed-off-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>
The following patch renames __in_dev_get() to __in_dev_get_rtnl() and
introduces __in_dev_get_rcu() to cover the second case.

1) RCU with refcnt should use in_dev_get().
2) RCU without refcnt should use __in_dev_get_rcu().
3) All others must hold RTNL and use __in_dev_get_rtnl().

There is one exception in net/ipv4/route.c which is in fact a pre-existing
race condition.  I've marked it as such so that we remember to fix it.

This patch is based on suggestions and prior work by Suzanne Wood and
Paul McKenney.

Signed-off-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>[WAN] hdlc_cisco: Fix regression introduced by skb-&gt;tail changes.</title>
<updated>2005-09-19T22:39:32+00:00</updated>
<author>
<name>Krzysztof Halasa</name>
<email>khc@pm.waw.pl</email>
</author>
<published>2005-09-19T22:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2cf655cd65888e9fed0803d77e9e4f7d1db674cc'/>
<id>2cf655cd65888e9fed0803d77e9e4f7d1db674cc</id>
<content type='text'>
The following commit breaks cisco mode with my WAN drivers:
author	David S. Miller &lt;davem@davemloft.net&gt;
	Tue, 28 Jun 2005 22:25:31 +0000 (15:25 -0700)
commit	689be43945e9ca7dd704522e55af1b8a73a994d3

"[NET]: Remove gratuitous use of skb-&gt;tail in network drivers."

The following patch fixes it - please apply (cisco_hard_header does
skb_push(4 bytes)).

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following commit breaks cisco mode with my WAN drivers:
author	David S. Miller &lt;davem@davemloft.net&gt;
	Tue, 28 Jun 2005 22:25:31 +0000 (15:25 -0700)
commit	689be43945e9ca7dd704522e55af1b8a73a994d3

"[NET]: Remove gratuitous use of skb-&gt;tail in network drivers."

The following patch fixes it - please apply (cisco_hard_header does
skb_push(4 bytes)).

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[kernel-doc] fix various DocBook build problems/warnings</title>
<updated>2005-09-07T05:15:17+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jgarzik@pobox.com</email>
</author>
<published>2005-09-07T05:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=344babaa9d39b10b85cadec4e5335d43b52b4ec0'/>
<id>344babaa9d39b10b85cadec4e5335d43b52b4ec0</id>
<content type='text'>
Most serious is fixing include/sound/pcm.h, which breaks the DocBook
build.

The other stuff is just filling in things that cause warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most serious is fixing include/sound/pcm.h, which breaks the DocBook
build.

The other stuff is just filling in things that cause warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: Kill skb-&gt;real_dev</title>
<updated>2005-08-29T22:32:25+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2005-08-10T02:34:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f2ccd8fa06c8e302116e71df372f5c1f83432e03'/>
<id>f2ccd8fa06c8e302116e71df372f5c1f83432e03</id>
<content type='text'>
Bonding just wants the device before the skb_bond()
decapsulation occurs, so simply pass that original
device into packet_type-&gt;func() as an argument.

It remains to be seen whether we can use this same
exact thing to get rid of skb-&gt;input_dev as well.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bonding just wants the device before the skb_bond()
decapsulation occurs, so simply pass that original
device into packet_type-&gt;func() as an argument.

It remains to be seen whether we can use this same
exact thing to get rid of skb-&gt;input_dev as well.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: Kill skb-&gt;list</title>
<updated>2005-08-29T22:31:14+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2005-08-10T02:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8728b834b226ffcf2c94a58530090e292af2a7bf'/>
<id>8728b834b226ffcf2c94a58530090e292af2a7bf</id>
<content type='text'>
Remove the "list" member of struct sk_buff, as it is entirely
redundant.  All SKB list removal callers know which list the
SKB is on, so storing this in sk_buff does nothing other than
taking up some space.

Two tricky bits were SCTP, which I took care of, and two ATM
drivers which Francois Romieu &lt;romieu@fr.zoreil.com&gt; fixed
up.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Francois Romieu &lt;romieu@fr.zoreil.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the "list" member of struct sk_buff, as it is entirely
redundant.  All SKB list removal callers know which list the
SKB is on, so storing this in sk_buff does nothing other than
taking up some space.

Two tricky bits were SCTP, which I took care of, and two ATM
drivers which Francois Romieu &lt;romieu@fr.zoreil.com&gt; fixed
up.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Francois Romieu &lt;romieu@fr.zoreil.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] net/cycx_drv: replace delay_cycx() with msleep_interruptible()</title>
<updated>2005-08-19T06:55:02+00:00</updated>
<author>
<name>Nishanth Aravamudan</name>
<email>nacc@us.ibm.com</email>
</author>
<published>2005-06-27T16:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a51d74409d856e472bad753aecf1f2715718c242'/>
<id>a51d74409d856e472bad753aecf1f2715718c242</id>
<content type='text'>
Use msleep_interruptible() instead of delay_cycx() to guarantee the task
delays as expected. Remove the prototype and definition of delay_cycx().

Signed-off-by: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use msleep_interruptible() instead of delay_cycx() to guarantee the task
delays as expected. Remove the prototype and definition of delay_cycx().

Signed-off-by: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[WAN]: drivers/net/wan/: use of time_after macro</title>
<updated>2005-07-15T16:59:26+00:00</updated>
<author>
<name>Marcelo Feitoza Parisi</name>
<email>marcelo@feitoza.com.br</email>
</author>
<published>2005-07-15T16:59:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a8178345c4f12f4413e5620fc86a6b0381c41bc9'/>
<id>a8178345c4f12f4413e5620fc86a6b0381c41bc9</id>
<content type='text'>
From: Marcelo Feitoza Parisi &lt;marcelo@feitoza.com.br&gt;

Use of the time_after() macro, defined at linux/jiffies.h, which deal
with wrapping correctly and are nicer to read.

Signed-off-by: Marcelo Feitoza Parisi &lt;marcelo@feitoza.com.br&gt;
Signed-off-by: Domen Puncer &lt;domen@coderock.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>
From: Marcelo Feitoza Parisi &lt;marcelo@feitoza.com.br&gt;

Use of the time_after() macro, defined at linux/jiffies.h, which deal
with wrapping correctly and are nicer to read.

Signed-off-by: Marcelo Feitoza Parisi &lt;marcelo@feitoza.com.br&gt;
Signed-off-by: Domen Puncer &lt;domen@coderock.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: __be'ify *_type_trans()</title>
<updated>2005-07-12T19:08:43+00:00</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2005-07-12T19:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ab611487d8ada506e511d2b8f22fb8e7be9939b9'/>
<id>ab611487d8ada506e511d2b8f22fb8e7be9939b9</id>
<content type='text'>
tr_type_trans(), hippi_type_trans() left as-is.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.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>
tr_type_trans(), hippi_type_trans() left as-is.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[NET]: Remove gratuitous use of skb-&gt;tail in network drivers.</title>
<updated>2005-06-28T22:25:31+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2005-06-28T22:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=689be43945e9ca7dd704522e55af1b8a73a994d3'/>
<id>689be43945e9ca7dd704522e55af1b8a73a994d3</id>
<content type='text'>
Many drivers use skb-&gt;tail unnecessarily.

In these situations, the code roughly looks like:

	dev = dev_alloc_skb(...);

	[optional] skb_reserve(skb, ...);

	... skb-&gt;tail ...

But even if the skb_reserve() happens, skb-&gt;data equals
skb-&gt;tail.  So it doesn't make any sense to use anything
other than skb-&gt;data in these cases.

Another case was the s2io.c driver directly mucking with
the skb-&gt;data and skb-&gt;tail pointers.  It really just wanted
to do an skb_reserve(), so that's what the code was changed
to do instead.

Another reason I'm making this change as it allows some SKB
cleanups I have planned simpler to merge.  In those cleanups,
skb-&gt;head, skb-&gt;tail, and skb-&gt;end pointers are removed, and
replaced with skb-&gt;head_room and skb-&gt;tail_room integers.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many drivers use skb-&gt;tail unnecessarily.

In these situations, the code roughly looks like:

	dev = dev_alloc_skb(...);

	[optional] skb_reserve(skb, ...);

	... skb-&gt;tail ...

But even if the skb_reserve() happens, skb-&gt;data equals
skb-&gt;tail.  So it doesn't make any sense to use anything
other than skb-&gt;data in these cases.

Another case was the s2io.c driver directly mucking with
the skb-&gt;data and skb-&gt;tail pointers.  It really just wanted
to do an skb_reserve(), so that's what the code was changed
to do instead.

Another reason I'm making this change as it allows some SKB
cleanups I have planned simpler to merge.  In those cleanups,
skb-&gt;head, skb-&gt;tail, and skb-&gt;end pointers are removed, and
replaced with skb-&gt;head_room and skb-&gt;tail_room integers.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] net/farsync: add set_current_state() before schedule_timeout()</title>
<updated>2005-06-27T03:48:37+00:00</updated>
<author>
<name>Nishanth Aravamudan</name>
<email>nacc@us.ibm.com</email>
</author>
<published>2005-06-20T21:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0da8b1454815862e03dae1a199936832a6e67868'/>
<id>0da8b1454815862e03dae1a199936832a6e67868</id>
<content type='text'>
Insert set_current_state() before schedule_timeout() so the
function delays as expected. Without the addition, schedule_timeout()
will return immediately.

Signed-off-by: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;
Signed-off-by: Maximilian Attems &lt;janitor@sternwelten.at&gt;
Signed-off-by: Domen Puncer &lt;domen@coderock.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Insert set_current_state() before schedule_timeout() so the
function delays as expected. Without the addition, schedule_timeout()
will return immediately.

Signed-off-by: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;
Signed-off-by: Maximilian Attems &lt;janitor@sternwelten.at&gt;
Signed-off-by: Domen Puncer &lt;domen@coderock.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
