<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/arp.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-11T19:54:04Z</updated>
<entry>
<title>neigh: Protect neigh-&gt;ha[] with a seqlock</title>
<updated>2010-10-11T19:54:04Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-10-07T10:44:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ed8ddf4045fcfcac36bad753dc4046118c603ec'/>
<id>urn:sha1:0ed8ddf4045fcfcac36bad753dc4046118c603ec</id>
<content type='text'>
Add a seqlock in struct neighbour to protect neigh-&gt;ha[], and avoid
dirtying neighbour in stress situation (many different flows / dsts)

Dirtying takes place because of read_lock(&amp;n-&gt;lock) and n-&gt;used writes.

Switching to a seqlock, and writing n-&gt;used only on jiffies changes
permits less dirtying.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net neigh: RCU conversion of neigh hash table</title>
<updated>2010-10-05T21:54:36Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-10-04T06:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6bf781712a1d25cc8987036b3a48535b331eb91'/>
<id>urn:sha1:d6bf781712a1d25cc8987036b3a48535b331eb91</id>
<content type='text'>
David

This is the first step for RCU conversion of neigh code.

Next patches will convert hash_buckets[] and "struct neighbour" to RCU
protected objects.

Thanks

[PATCH net-next] net neigh: RCU conversion of neigh hash table

Instead of storing hash_buckets, hash_mask and hash_rnd in "struct
neigh_table", a new structure is defined :

struct neigh_hash_table {
       struct neighbour        **hash_buckets;
       unsigned int            hash_mask;
       __u32                   hash_rnd;
       struct rcu_head         rcu;
};

And "struct neigh_table" has an RCU protected pointer to such a
neigh_hash_table.

This means the signature of (*hash)() function changed: We need to add a
third parameter with the actual hash_rnd value, since this is not
anymore a neigh_table field.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>arp: remove unnecessary export of arp_broken_ops</title>
<updated>2010-09-30T02:45:35Z</updated>
<author>
<name>stephen hemminger</name>
</author>
<published>2010-09-28T17:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a64de47c091e4a337fa9763315cb6f2fbf0c583b'/>
<id>urn:sha1:a64de47c091e4a337fa9763315cb6f2fbf0c583b</id>
<content type='text'>
arp_broken_ops is only used in arp.c

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: return operator cleanup</title>
<updated>2010-09-23T21:33:39Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-09-22T20:43:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a02cec2155fbea457eca8881870fd2de1a4c4c76'/>
<id>urn:sha1:a02cec2155fbea457eca8881870fd2de1a4c4c76</id>
<content type='text'>
Change "return (EXPR);" to "return EXPR;"

return is not a function, parentheses are not required.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: arp: code cleanup</title>
<updated>2010-09-02T17:12:06Z</updated>
<author>
<name>Changli Gao</name>
</author>
<published>2010-09-02T03:56:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=deffd77759e3ceb936f0760cc54a213881577a83'/>
<id>urn:sha1:deffd77759e3ceb936f0760cc54a213881577a83</id>
<content type='text'>
Clean the code up according to Documentation/CodingStyle.

Don't initialize the variable dont_send in arp_process().

Remove the temporary varialbe flags in arp_state_to_flags().

Signed-off-by: Changli Gao &lt;xiaosuo@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/ipv4: EXPORT_SYMBOL cleanups</title>
<updated>2010-07-12T19:57:54Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-07-09T21:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6'/>
<id>urn:sha1:4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6</id>
<content type='text'>
CodingStyle cleanups

EXPORT_SYMBOL should immediately follow the symbol declaration.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>arp: RCU change in arp_solicit()</title>
<updated>2010-06-26T04:33:16Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-06-22T07:43:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b4194c40f4ac8d03a700845f8978cba53246b5a'/>
<id>urn:sha1:4b4194c40f4ac8d03a700845f8978cba53246b5a</id>
<content type='text'>
Avoid two atomic ops in arp_solicit()

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net-next: remove useless union keyword</title>
<updated>2010-06-11T06:31:35Z</updated>
<author>
<name>Changli Gao</name>
</author>
<published>2010-06-11T06:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8d1f30b95a635dbd610dcc5eb641aca8f4768cf'/>
<id>urn:sha1:d8d1f30b95a635dbd610dcc5eb641aca8f4768cf</id>
<content type='text'>
remove useless union keyword in rtable, rt6_info and dn_route.

Since there is only one member in a union, the union keyword isn't useful.

Signed-off-by: Changli Gao &lt;xiaosuo@gmail.com&gt;
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>arp: RCU changes</title>
<updated>2010-06-04T03:01:52Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-06-03T04:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=faa9dcf793beba05f7178b63a59eaa3ca5175b6a'/>
<id>urn:sha1:faa9dcf793beba05f7178b63a59eaa3ca5175b6a</id>
<content type='text'>
Avoid two atomic ops in arp_fwd_proxy()

Avoid two atomic ops in arp_process()

Valid optims since arp_rcv() is run under rcu_read_lock()

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Use ip_route_input_noref() in input path</title>
<updated>2010-05-18T00:18:51Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-05-10T11:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a94445c9a5cf5461fb41d80040033b9a8e2a85a'/>
<id>urn:sha1:4a94445c9a5cf5461fb41d80040033b9a8e2a85a</id>
<content type='text'>
Use ip_route_input_noref() in ip fast path, to avoid two atomic ops per
incoming packet.

Note: loopback is excluded from this optimization in ip_rcv_finish()

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
