<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/fib_rules.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-18T19:44:34Z</updated>
<entry>
<title>ipv4/route: arg delay is useless in rt_cache_flush()</title>
<updated>2012-09-18T19:44:34Z</updated>
<author>
<name>Nicolas Dichtel</name>
</author>
<published>2012-09-07T00:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bafa6d9d89072c1a18853afe9ee5de05c491c13a'/>
<id>urn:sha1:bafa6d9d89072c1a18853afe9ee5de05c491c13a</id>
<content type='text'>
Since route cache deletion (89aef8921bfbac22f), delay is no
more used. Remove it.

Signed-off-by: Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;
Acked-by: Eric Dumazet &lt;edumazet@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Don't store a rule pointer in fib_result.</title>
<updated>2012-07-13T15:21:29Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-07-13T15:21:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85b91b0339e764f7e56ff5968fa10d85451378b4'/>
<id>urn:sha1:85b91b0339e764f7e56ff5968fa10d85451378b4</id>
<content type='text'>
We only use it to fetch the rule's tclassid, so just store the
tclassid there instead.

This also decreases the size of fib_result by a full 8 bytes on
64-bit.  On 32-bits it's a wash.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Avoid overhead when no custom FIB rules are installed.</title>
<updated>2012-07-06T05:13:13Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-07-06T05:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4530fa574df4d833506c53697ed1daa0d390bf4'/>
<id>urn:sha1:f4530fa574df4d833506c53697ed1daa0d390bf4</id>
<content type='text'>
If the user hasn't actually installed any custom rules, or fiddled
with the default ones, don't go through the whole FIB rules layer.

It's just pure overhead.

Instead do what we do with CONFIG_IP_MULTIPLE_TABLES disabled, check
the individual tables by hand, one by one.

Also, move fib_num_tclassid_users into the ipv4 network namespace.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Elide fib_validate_source() completely when possible.</title>
<updated>2012-06-29T08:36:36Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-06-29T08:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a9bc9b81a5bc6e44ebc80ef781332e4385083f2'/>
<id>urn:sha1:7a9bc9b81a5bc6e44ebc80ef781332e4385083f2</id>
<content type='text'>
If rpfilter is off (or the SKB has an IPSEC path) and there are not
tclassid users, we don't have to do anything at all when
fib_validate_source() is invoked besides setting the itag to zero.

We monitor tclassid uses with a counter (modified only under RTNL and
marked __read_mostly) and we protect the fib_validate_source() real
work with a test against this counter and whether rpfilter is to be
done.

Having a way to know whether we need no tclassid processing or not
also opens the door for future optimized rpfilter algorithms that do
not perform full FIB lookups.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Stop using NLA_PUT*().</title>
<updated>2012-04-02T08:33:43Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2012-04-02T00:39:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3756b79e8f76cb92830383c215deba146fe0a26'/>
<id>urn:sha1:f3756b79e8f76cb92830383c215deba146fe0a26</id>
<content type='text'>
These macros contain a hidden goto, and are thus extremely error
prone and make code hard to audit.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ipv4: export fib_lookup and fib_table_lookup</title>
<updated>2011-12-04T21:43:33Z</updated>
<author>
<name>Florian Westphal</name>
</author>
<published>2011-08-25T11:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6fc01438a94702bd160cb1b89203d9b97ae68ced'/>
<id>urn:sha1:6fc01438a94702bd160cb1b89203d9b97ae68ced</id>
<content type='text'>
The reverse path filter module will use fib_lookup.

If CONFIG_IP_MULTIPLE_TABLES is not set, fib_lookup is
only a static inline helper that calls fib_table_lookup,
so export that too.

Signed-off-by: Florian Westphal &lt;fw@strlen.de&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules</title>
<updated>2011-10-31T23:30:30Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-15T15:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf'/>
<id>urn:sha1:bc3b2d7fb9b014d75ebb79ba371a763dbab5e8cf</id>
<content type='text'>
These files are non modular, but need to export symbols using
the macros now living in export.h -- call out the include so
that things won't break when we remove the implicit presence
of module.h from everywhere.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>ipv4: Use flowi4 in FIB layer.</title>
<updated>2011-03-12T23:08:49Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2011-03-12T07:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ade22861f922344788321e374c542c92bc049b6'/>
<id>urn:sha1:9ade22861f922344788321e374c542c92bc049b6</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Pass ipv4 flow objects into fib_lookup() paths.</title>
<updated>2011-03-12T23:08:47Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2011-03-12T00:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22bd5b9b13f2931ac80949f8bfbc40e8cab05be7'/>
<id>urn:sha1:22bd5b9b13f2931ac80949f8bfbc40e8cab05be7</id>
<content type='text'>
To start doing these conversions, we need to add some temporary
flow4_* macros which will eventually go away when all the protocol
code paths are changed to work on AF specific flowi objects.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Use const'ify fib_result deep in the route call chains.</title>
<updated>2011-02-17T23:54:42Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2011-02-17T05:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=982721f3911b2619482e05910644e5699fbeb065'/>
<id>urn:sha1:982721f3911b2619482e05910644e5699fbeb065</id>
<content type='text'>
The only troublesome bit here is __mkroute_output which wants
to override res-&gt;fi and res-&gt;type, compute those in local
variables instead.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
