<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/ip_fib.h, branch v2.6.26</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.26</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.26'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-02-05T10:54:16Z</updated>
<entry>
<title>[IPV4]: Fix compile error building without CONFIG_FS_PROC</title>
<updated>2008-02-05T10:54:16Z</updated>
<author>
<name>Li Zefan</name>
<email>lizf@cn.fujitsu.com</email>
</author>
<published>2008-02-05T10:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc8274f50f2ad9a97a837451f63a0a3e65f7f490'/>
<id>urn:sha1:cc8274f50f2ad9a97a837451f63a0a3e65f7f490</id>
<content type='text'>
compile error building without CONFIG_FS_PROC:

net/ipv4/fib_frontend.c: In function 'fib_net_init':
net/ipv4/fib_frontend.c:1032: error: implicit declaration of function 'fib_proc_
init'
net/ipv4/fib_frontend.c: In function 'fib_net_exit':
net/ipv4/fib_frontend.c:1047: error: implicit declaration of function 'fib_proc_
exit'

Signed-off-by: Li Zefan &lt;lizf@cn.fujitsu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Lookup in FIB semantic hashes taking into account the namespace.</title>
<updated>2008-02-01T03:28:41Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-02-01T02:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4814bdbd590e835ecec2d5e505165ec1c19796b2'/>
<id>urn:sha1:4814bdbd590e835ecec2d5e505165ec1c19796b2</id>
<content type='text'>
The namespace is not available in the fib_sync_down_addr, add it as a
parameter.

Looking up a device by the pointer to it is OK. Looking up using a
result from fib_trie/fib_hash table lookup is also safe. No need to
fix that at all.  So, just fix lookup by address and insertion to the
hash table path.

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 a namespace mark to fib_info.</title>
<updated>2008-02-01T03:28:40Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-02-01T02:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7462bd744e8882f9ebb9220d46fd4fec8b35b082'/>
<id>urn:sha1:7462bd744e8882f9ebb9220d46fd4fec8b35b082</id>
<content type='text'>
This is required to make fib_info lookups namespace aware. In the
other case initial namespace devices are marked as dead in the local
routing table during other namespace stop.

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>[IPV4]: fib_sync_down rework.</title>
<updated>2008-02-01T03:28:39Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-02-01T02:48:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=85326fa54b5516d8859617cc5fdfce8ae19c1480'/>
<id>urn:sha1:85326fa54b5516d8859617cc5fdfce8ae19c1480</id>
<content type='text'>
fib_sync_down can be called with an address and with a device. In
reality it is called either with address OR with a device. The
codepath inside is completely different, so lets separate it into two
calls for these two cases.

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 fib_select_default.</title>
<updated>2008-01-28T23:11:03Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-01-23T06:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=010278ec4cdf404aefc0bbd5e7406674fec95286'/>
<id>urn:sha1:010278ec4cdf404aefc0bbd5e7406674fec95286</id>
<content type='text'>
Currently fib_select_default calls fib_get_table() with the
init_net. Prepare it to provide a correct namespace to lookup default
route.

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>[IPV4]: Consolidate fib_select_default.</title>
<updated>2008-01-28T23:11:02Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-01-23T06:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=64c2d5382954ccf6054424653f4c7f4f04c1ff21'/>
<id>urn:sha1:64c2d5382954ccf6054424653f4c7f4f04c1ff21</id>
<content type='text'>
The difference in the implementation of the fib_select_default when
CONFIG_IP_MULTIPLE_TABLES is (not) defined looks
negligible. Consolidate it and place into fib_frontend.c.

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>[IPV4]: Declarations cleanup in ip_fib.h.</title>
<updated>2008-01-28T23:11:02Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-01-23T06:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e30d3a0ccddbd458b3fb14c9b0229b01d97bad5b'/>
<id>urn:sha1:e30d3a0ccddbd458b3fb14c9b0229b01d97bad5b</id>
<content type='text'>
Two small issues fixed:
- fib_select_multipath is exported from fib_semantics.c rather than from
  fib_frontend.c. So, move the declaration below appropriate comment.
- struct rt_entry declaration is not used. Drop 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]: Add netns parameter to fib_lookup.</title>
<updated>2008-01-28T23:10:19Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-01-22T01:31:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=da0e28cb68a7e22b47c6ae1a5b12cb538c13c69f'/>
<id>urn:sha1:da0e28cb68a7e22b47c6ae1a5b12cb538c13c69f</id>
<content type='text'>
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>[IPV4]: fib hash|trie initialization</title>
<updated>2008-01-28T23:02:15Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>stephen.hemminger@vyatta.com</email>
</author>
<published>2008-01-15T07:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7f9b80529b8a2ad8b3273b15fb444a0e34b760a9'/>
<id>urn:sha1:7f9b80529b8a2ad8b3273b15fb444a0e34b760a9</id>
<content type='text'>
Initialization of the slab cache's should be done when IP is
initialized to make sure of available memory, and that code can be
marked __init.

Signed-off-by: Stephen Hemminger &lt;stephen.hemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Place fib tables into netns.</title>
<updated>2008-01-28T23:01:31Z</updated>
<author>
<name>Denis V. Lunev</name>
<email>den@openvz.org</email>
</author>
<published>2008-01-10T11:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e4aef8aea31e6fc61b33a57120968a6e9824d138'/>
<id>urn:sha1:e4aef8aea31e6fc61b33a57120968a6e9824d138</id>
<content type='text'>
The preparatory work has been done. All we need is to substitute
fib_table_hash with net-&gt;ipv4.fib_table_hash. Netns context is
available when required.

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>
</feed>
