<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net, branch v2.6.18</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net?h=v2.6.18</id>
<link rel='self' href='https://git.amat.us/linux/atom/net?h=v2.6.18'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-09-19T20:42:46Z</updated>
<entry>
<title>[IPV4] fib_trie: missing ntohl() when calling fib_semantic_match()</title>
<updated>2006-09-19T20:42:46Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2006-09-19T20:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=888454c57a45511808d3fa52597b3d765df034a6'/>
<id>urn:sha1:888454c57a45511808d3fa52597b3d765df034a6</id>
<content type='text'>
fib_trie.c::check_leaf() passes host-endian where fib_semantic_match()
expects (and stores into) net-endian.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETFILTER]: xt_quota: add missing module aliases</title>
<updated>2006-09-19T20:00:57Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2006-09-19T20:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b22b9004f22ba8ca33d15059e8b710a4b71ec3cc'/>
<id>urn:sha1:b22b9004f22ba8ca33d15059e8b710a4b71ec3cc</id>
<content type='text'>
Add missing aliases for ipt_quota and ip6t_quota to make autoload
work.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[ATM] CLIP: Do not refer freed skbuff in clip_mkip().</title>
<updated>2006-09-18T13:37:58Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2006-09-18T13:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe26109a9dfd9327fdbe630fc819e1b7450986b2'/>
<id>urn:sha1:fe26109a9dfd9327fdbe630fc819e1b7450986b2</id>
<content type='text'>
In clip_mkip(), skb-&gt;dev is dereferenced after clip_push(),
which frees up skb.

Advisory: AD_LAB-06009 (&lt;adlab@venustech.com.cn&gt;).

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Drop tx lock in dev_watchdog_up</title>
<updated>2006-09-18T07:22:30Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2006-09-18T07:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d7811e623dd4be3e3bdba2d6330f7f15541ee45f'/>
<id>urn:sha1:d7811e623dd4be3e3bdba2d6330f7f15541ee45f</id>
<content type='text'>
Fix lockdep warning with GRE, iptables and Speedtouch ADSL, PPP over ATM.

On Sat, Sep 02, 2006 at 08:39:28PM +0000, Krzysztof Halasa wrote:
&gt; 
&gt; =======================================================
&gt; [ INFO: possible circular locking dependency detected ]
&gt; -------------------------------------------------------
&gt; swapper/0 is trying to acquire lock:
&gt;  (&amp;dev-&gt;queue_lock){-+..}, at: [&lt;c02c8c46&gt;] dev_queue_xmit+0x56/0x290
&gt; 
&gt; but task is already holding lock:
&gt;  (&amp;dev-&gt;_xmit_lock){-+..}, at: [&lt;c02c8e14&gt;] dev_queue_xmit+0x224/0x290
&gt; 
&gt; which lock already depends on the new lock.

This turns out to be a genuine bug.  The queue lock and xmit lock are
intentionally taken out of order.  Two things are supposed to prevent
dead-locks from occuring:

1) When we hold the queue_lock we're supposed to only do try_lock on the
tx_lock.

2) We always drop the queue_lock after taking the tx_lock and before doing
anything else.

&gt; 
&gt; the existing dependency chain (in reverse order) is:
&gt; 
&gt; -&gt; #1 (&amp;dev-&gt;_xmit_lock){-+..}:
&gt;        [&lt;c012e7b6&gt;] lock_acquire+0x76/0xa0
&gt;        [&lt;c0336241&gt;] _spin_lock_bh+0x31/0x40
&gt;        [&lt;c02d25a9&gt;] dev_activate+0x69/0x120

This path obviously breaks assumption 1) and therefore can lead to ABBA
dead-locks.

I've looked at the history and there seems to be no reason for the lock
to be held at all in dev_watchdog_up.  The lock appeared in day one and
even there it was unnecessary.  In fact, people added __dev_watchdog_up
precisely in order to get around the tx lock there.

The function dev_watchdog_up is already serialised by rtnl_lock since
its only caller dev_activate is always called under it.

So here is a simple patch to remove the tx lock from dev_watchdog_up.
In 2.6.19 we can eliminate the unnecessary __dev_watchdog_up and
replace it with dev_watchdog_up.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[PACKET]: Don't truncate non-linear skbs with mmaped IO</title>
<updated>2006-09-18T06:59:57Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2006-09-18T06:59:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cbe21d8fefca605b90e34f0f019505e599712f9b'/>
<id>urn:sha1:cbe21d8fefca605b90e34f0f019505e599712f9b</id>
<content type='text'>
Non-linear skbs are truncated to their linear part with mmaped IO.
Fix by using skb_copy_bits instead of memcpy.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Acked-by: Alexey Kuznetsov &lt;kuznet@ms2.inr.ac.ru&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Mark frame diverter for future removal.</title>
<updated>2006-09-18T06:21:14Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@osdl.org</email>
</author>
<published>2006-09-14T04:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=080f22c0dc544e498e57ad281a9de063fa839957'/>
<id>urn:sha1:080f22c0dc544e498e57ad281a9de063fa839957</id>
<content type='text'>
The code for frame diverter is unmaintained and has bitrotted.
The number of users is very small and the code has lots of problems.
If anyone is using it, they maybe exposing themselves to bad packet attacks.

Signed-off-by: Stephen Hemminger &lt;shemminger@osdl.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[TCP] tcp-lp: bug fix for oops in 2.6.18-rc6</title>
<updated>2006-09-18T06:21:09Z</updated>
<author>
<name>Wong Hoi Sing Edison</name>
<email>hswong3i@gmail.com</email>
</author>
<published>2006-09-14T03:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3795da47e82ee0596174f52817d6d3ecd91f68ea'/>
<id>urn:sha1:3795da47e82ee0596174f52817d6d3ecd91f68ea</id>
<content type='text'>
Sorry that the patch submited yesterday still contain a small bug.
This version have already been test for hours with BT connections. The
oops is now difficult to reproduce.

Signed-off-by: Wong Hoi Sing Edison &lt;hswong3i@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[BRIDGE]: random extra bytes on STP TCN packet</title>
<updated>2006-09-18T06:21:08Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@osdl.org</email>
</author>
<published>2006-09-14T03:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=485c2967d622449f4bbfae305a6fc4e185b5b094'/>
<id>urn:sha1:485c2967d622449f4bbfae305a6fc4e185b5b094</id>
<content type='text'>
We seem to send 3 extra bytes in a TCN, which will be whatever happens
to be on the stack. Thanks to Aji_Srinivas@emc.com for seeing.

Signed-off-by: Stephen Hemminger &lt;shemminger@osdl.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Accept -1 for IPV6_TCLASS</title>
<updated>2006-09-18T06:21:08Z</updated>
<author>
<name>Remi Denis-Courmont</name>
<email>rdenis@simphalempin.com</email>
</author>
<published>2006-09-14T03:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d0ee011f7290b51974e4d058cf4455a5ef91177d'/>
<id>urn:sha1:d0ee011f7290b51974e4d058cf4455a5ef91177d</id>
<content type='text'>
This patch should add support for -1 as "default" IPv6 traffic class,
as specified in IETF RFC3542 §6.5. Within the kernel, it seems tclass
&lt; 0 is already handled, but setsockopt, getsockopt and recvmsg calls
won't accept it from userland.

Signed-off-by: Remi Denis-Courmont &lt;rdenis@simphalempin.com&gt;
Acked-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Fix tclass setting for raw sockets.</title>
<updated>2006-09-18T06:21:07Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2006-09-14T03:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e012d51cbc41c5e603d7850c82acb0dad9e450dd'/>
<id>urn:sha1:e012d51cbc41c5e603d7850c82acb0dad9e450dd</id>
<content type='text'>
np-&gt;cork.tclass is used only in cork'ed context.
Otherwise, np-&gt;tclass should be used.

Bug#7096 reported by Remi Denis-Courmont &lt;rdenis@simphalempin.com&gt;.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
