<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/inetpeer.h, branch v3.14-rc8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/net/inetpeer.h?h=v3.14-rc8</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/net/inetpeer.h?h=v3.14-rc8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-12-28T22:03:20Z</updated>
<entry>
<title>ipv4: remove unused function</title>
<updated>2013-12-28T22:03:20Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>stephen@networkplumber.org</email>
</author>
<published>2013-12-28T19:08:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=068a6e183484b1c619025da502a6fbfa53c50991'/>
<id>urn:sha1:068a6e183484b1c619025da502a6fbfa53c50991</id>
<content type='text'>
inetpeer_invalidate_family defined but never used

Signed-off-by: Stephen Hemminger &lt;stephen@networkplumber.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet*.h: Remove extern from function prototypes</title>
<updated>2013-09-21T18:01:38Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2013-09-21T17:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1fd51155387264e3ca72094abadcaadb3f5969f6'/>
<id>urn:sha1:1fd51155387264e3ca72094abadcaadb3f5969f6</id>
<content type='text'>
There are a mix of function prototypes with and without extern
in the kernel sources.  Standardize on not using extern for
function prototypes.

Function prototypes don't need to be written with extern.
extern is assumed by the compiler.  Its use is as unnecessary as
using auto to declare automatic/local variables in a block.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv4: Maintain redirect and PMTU info in struct rtable again.</title>
<updated>2012-07-11T05:40:14Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-07-10T13:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5943634fc5592037db0693b261f7f4bea6bb9457'/>
<id>urn:sha1:5943634fc5592037db0693b261f7f4bea6bb9457</id>
<content type='text'>
Maintaining this in the inetpeer entries was not the right way to do
this at all.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>tcp: Move timestamps from inetpeer to metrics cache.</title>
<updated>2012-07-11T05:40:08Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-07-10T10:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=81166dd6fa8eb780b2132d32fbc77eb6ac04e44e'/>
<id>urn:sha1:81166dd6fa8eb780b2132d32fbc77eb6ac04e44e</id>
<content type='text'>
With help from Lin Ming.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Avoid potential NULL peer dereference.</title>
<updated>2012-06-11T11:13:57Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-06-11T11:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7b34ca2ac7063f4ebf07f85fd75253ed84d5c648'/>
<id>urn:sha1:7b34ca2ac7063f4ebf07f85fd75253ed84d5c648</id>
<content type='text'>
We handle NULL in rt{,6}_set_peer but then our caller will try to pass
that NULL pointer into inet_putpeer() which isn't ready for it.

Fix this by moving the NULL check one level up, and then remove the
now unnecessary NULL check from inetpeer_ptr_set_peer().

Reported-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Add family scope inetpeer flushes.</title>
<updated>2012-06-11T09:09:10Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-06-10T07:24:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b48c80ece973e9eddb042f6685b482b261ff0d47'/>
<id>urn:sha1:b48c80ece973e9eddb042f6685b482b261ff0d47</id>
<content type='text'>
This implementation can deal with having many inetpeer roots, which is
a necessary prerequisite for per-FIB table rooted peer tables.

Each family (AF_INET, AF_INET6) has a sequence number which we bump
when we get a family invalidation request.

Each peer lookup cheaply checks whether the flush sequence of the
root we are using is out of date, and if so flushes it and updates
the sequence number.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Hide route peer accesses behind helpers.</title>
<updated>2012-06-11T09:08:47Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-06-10T05:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=97bab73f987e2781129cd6f4b6379bf44d808cc6'/>
<id>urn:sha1:97bab73f987e2781129cd6f4b6379bf44d808cc6</id>
<content type='text'>
We encode the pointer(s) into an unsigned long with one state bit.

The state bit is used so we can store the inetpeer tree root to use
when resolving the peer later.

Later the peer roots will be per-FIB table, and this change works to
facilitate that.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Pass inetpeer root into inet_getpeer*() interfaces.</title>
<updated>2012-06-10T02:12:36Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-06-10T02:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c0efc887dcadbdbfe171f028acfab9c7c00e9dde'/>
<id>urn:sha1:c0efc887dcadbdbfe171f028acfab9c7c00e9dde</id>
<content type='text'>
Otherwise we reference potentially non-existing members when
ipv6 is disabled.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Consolidate inetpeer_invalidate_tree() interfaces.</title>
<updated>2012-06-09T23:32:41Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-06-09T23:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=56a6b248eb345c1948ee60bf426de1ff7dd81509'/>
<id>urn:sha1:56a6b248eb345c1948ee60bf426de1ff7dd81509</id>
<content type='text'>
We only need one interface for this operation, since we always know
which inetpeer root we want to flush.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Initialize per-netns inetpeer roots in net/ipv{4,6}/route.c</title>
<updated>2012-06-09T23:27:05Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-06-09T23:27:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c3426b47190d7c6785230c91a706fd42208b4120'/>
<id>urn:sha1:c3426b47190d7c6785230c91a706fd42208b4120</id>
<content type='text'>
Instead of net/ipv4/inetpeer.c

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