<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/net/route.h, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-01T03:28:27Z</updated>
<entry>
<title>[IPV4] route cache: Introduce rt_genid for smooth cache invalidation</title>
<updated>2008-02-01T03:28:27Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2008-02-01T01:05:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29e75252da20f3ab9e132c68c9aed156b87beae6'/>
<id>urn:sha1:29e75252da20f3ab9e132c68c9aed156b87beae6</id>
<content type='text'>
Current ip route cache implementation is not suited to large caches.

We can consume a lot of CPU when cache must be invalidated, since we
currently need to evict all cache entries, and this eviction is
sometimes asynchronous. min_delay &amp; max_delay can somewhat control this
asynchronism behavior, but whole thing is a kludge, regularly triggering
infamous soft lockup messages. When entries are still in use, this also
consumes a lot of ram, filling dst_garbage.list.

A better scheme is to use a generation identifier on each entry,
so that cache invalidation can be performed by changing the table
identifier, without having to scan all entries.
No more delayed flushing, no more stalling when secret_interval expires.

Invalidated entries will then be freed at GC time (controled by
ip_rt_gc_timeout or stress), or when an invalidated entry is found
in a chain when an insert is done.
Thus we keep a normal equilibrium.

This patch :
- renames rt_hash_rnd to rt_genid (and makes it an atomic_t)
- Adds a new rt_genid field to 'struct rtable' (filling a hole on 64bit)
- Checks entry-&gt;rt_genid at appropriate places :
</content>
</entry>
<entry>
<title>[NET]: Introducing socket mark socket option.</title>
<updated>2008-02-01T03:27:19Z</updated>
<author>
<name>Laszlo Attila Toth</name>
</author>
<published>2008-01-31T03:08:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0'/>
<id>urn:sha1:4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0</id>
<content type='text'>
A userspace program may wish to set the mark for each packets its send
without using the netfilter MARK target. Changing the mark can be used
for mark based routing without netfilter or for packet filtering.

It requires CAP_NET_ADMIN capability.

Signed-off-by: Laszlo Attila Toth &lt;panther@balabit.hu&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Routing cache virtualization.</title>
<updated>2008-01-28T23:11:13Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-01-23T07:50:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5921910a1de4ba82add59154976c3dc7352c8c2'/>
<id>urn:sha1:b5921910a1de4ba82add59154976c3dc7352c8c2</id>
<content type='text'>
Basically, this piece looks relatively easy. Namespace is already
available on the dst entry via device and the device is safe to
dereferrence. Compare it with one of a searcher and skip entry if
appropriate.

The only exception is ip_rt_frag_needed. So, add namespace parameter to it.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Correct namespace for connect-time routing.</title>
<updated>2008-01-28T23:11:12Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-01-23T07:49:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eee80592c3c1f7381c04913d9d3eb6e3c3c87628'/>
<id>urn:sha1:eee80592c3c1f7381c04913d9d3eb6e3c3c87628</id>
<content type='text'>
ip_route_connect and ip_route_newports are a part of routing API
presented to the socket layer. The namespace is available inside them
through a socket.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Add namespace parameter to ip_route_output_key.</title>
<updated>2008-01-28T23:11:07Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-01-23T06:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f206351a50ea86250fabea96b9af8d8f8fc02603'/>
<id>urn:sha1:f206351a50ea86250fabea96b9af8d8f8fc02603</id>
<content type='text'>
Needed to propagate it down to the ip_route_output_flow.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Add namespace parameter to ip_route_output_flow.</title>
<updated>2008-01-28T23:11:06Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-01-23T06:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1b050bf7a88910f9f00c9c8989c1bf5a67dd140'/>
<id>urn:sha1:f1b050bf7a88910f9f00c9c8989c1bf5a67dd140</id>
<content type='text'>
Needed to propagate it down to the __ip_route_output_key.

Signed_off_by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Add namespace parameter to __ip_route_output_key.</title>
<updated>2008-01-28T23:11:05Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-01-23T06:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=611c183ebcb5af384df3a4ddb391034a1b6ac255'/>
<id>urn:sha1:611c183ebcb5af384df3a4ddb391034a1b6ac255</id>
<content type='text'>
This is only required to propagate it down to the
ip_route_output_slow.

Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Pass namespace through ip_rt_ioctl.</title>
<updated>2008-01-28T23:01:34Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-01-10T11:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1bad118a330d494b23663fce94d4e9d9d5065fa7'/>
<id>urn:sha1:1bad118a330d494b23663fce94d4e9d9d5065fa7</id>
<content type='text'>
... up to rtentry_to_fib_config

Acked-by: Benjamin Thery &lt;benjamin.thery@bull.net&gt;
Acked-by: Daniel Lezcano &lt;dlezcano@fr.ibm.com&gt;
Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Add netns parameter to inet_(dev_)add_type.</title>
<updated>2008-01-28T23:01:27Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2008-01-10T11:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b175b26c1048d331508940ad3516ead1998084f'/>
<id>urn:sha1:6b175b26c1048d331508940ad3516ead1998084f</id>
<content type='text'>
The patch extends the inet_addr_type and inet_dev_addr_type with the
network namespace pointer. That allows to access the different tables
relatively to the network namespace.

The modification of the signature function is reported in all the
callers of the inet_addr_type using the pointer to the well known
init_net.

Acked-by: Benjamin Thery &lt;benjamin.thery@bull.net&gt;
Acked-by: Daniel Lezcano &lt;dlezcano@fr.ibm.com&gt;
Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Add inet_dev_addr_type()</title>
<updated>2008-01-28T22:55:56Z</updated>
<author>
<name>Laszlo Attila Toth</name>
</author>
<published>2007-12-05T07:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0553811612a6178365f3b062c30234913b218a96'/>
<id>urn:sha1:0553811612a6178365f3b062c30234913b218a96</id>
<content type='text'>
Address type search can be limited to an interface by
inet_dev_addr_type function.

Signed-off-by: Laszlo Attila Toth &lt;panther@balabit.hu&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
