<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/udp.c, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-12-13T23:29:12Z</updated>
<entry>
<title>udp: multicast packets need to check namespace</title>
<updated>2008-12-13T23:29:12Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2008-12-08T10:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e7f7429b1f5a151943d920e52fdd59b5e7d13ba'/>
<id>urn:sha1:6e7f7429b1f5a151943d920e52fdd59b5e7d13ba</id>
<content type='text'>
[ Upstream commit 920a46115ca3fa88990276d98520abab85495b2d ]

Current UDP multicast delivery is not namespace aware.

Signed-off-by: Eric Dumazet &lt;dada1@cosmosbay.com&gt;
Acked-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>udp: Drop socket lock for encapsulated packets</title>
<updated>2008-08-09T07:35:05Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2008-08-09T07:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d97106ea52aa57e63ff40d04479016836bbb5a4e'/>
<id>urn:sha1:d97106ea52aa57e63ff40d04479016836bbb5a4e</id>
<content type='text'>
The socket lock is there to protect the normal UDP receive path.
Encapsulation UDP sockets don't need that protection.  In fact
the locking is deadly for them as they may contain another UDP
packet within, possibly with the same addresses.

Also the nested bit was copied from TCP.  TCP needs it because
of accept(2) spawning sockets.  This simply doesn't apply to UDP
so I've removed it.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>MIB: add struct net to UDP6_INC_STATS_BH</title>
<updated>2008-07-06T04:19:40Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-06T04:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef28d1a20f9f18ebf1be15ef6f097a76f9a63499'/>
<id>urn:sha1:ef28d1a20f9f18ebf1be15ef6f097a76f9a63499</id>
<content type='text'>
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Acked-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>MIB: add struct net to UDP6_INC_STATS_USER</title>
<updated>2008-07-06T04:19:20Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-06T04:19:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=235b9f7ac53489011d32efeb89e12e308fdd2c64'/>
<id>urn:sha1:235b9f7ac53489011d32efeb89e12e308fdd2c64</id>
<content type='text'>
As simple as the patch #1 in this set.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Acked-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>udp: sk_drops handling</title>
<updated>2008-06-18T04:04:56Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2008-06-18T04:04:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb61cb9b8b5ef6c2697d84e5015e314626eb2fba'/>
<id>urn:sha1:cb61cb9b8b5ef6c2697d84e5015e314626eb2fba</id>
<content type='text'>
In commits 33c732c36169d7022ad7d6eb474b0c9be43a2dc1 ([IPV4]: Add raw
drops counter) and a92aa318b4b369091fd80433c80e62838db8bc1c ([IPV6]:
Add raw drops counter), Wang Chen added raw drops counter for
/proc/net/raw &amp; /proc/net/raw6

This patch adds this capability to UDP sockets too (/proc/net/udp &amp;
/proc/net/udp6).

This means that 'RcvbufErrors' errors found in /proc/net/snmp can be also
be examined for each udp socket.

# grep Udp: /proc/net/snmp
Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors
Udp: 23971006 75 899420 16390693 146348 0

# cat /proc/net/udp
 sl  local_address rem_address   st tx_queue rx_queue tr tm-&gt;when retrnsmt  ---
uid  timeout inode ref pointer drops
 75: 00000000:02CB 00000000:0000 07 00000000:00000000 00:00000000 00000000  ---
  0        0 2358 2 ffff81082a538c80 0
111: 00000000:006F 00000000:0000 07 00000000:00000000 00:00000000 00000000  ---
  0        0 2286 2 ffff81042dd35c80 146348

In this example, only port 111 (0x006F) was flooded by messages that
user program could not read fast enough. 146348 messages were lost.

Signed-off-by: Eric Dumazet &lt;dada1@cosmosbay.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>udp: add struct net argument to udp_hashfn</title>
<updated>2008-06-17T00:12:29Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-06-17T00:12:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19c7578fb22b0aef103222cae9b522f03ae489d6'/>
<id>urn:sha1:19c7578fb22b0aef103222cae9b522f03ae489d6</id>
<content type='text'>
Every caller already has this one. The new argument is currently 
unused, but this will be fixed shortly.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>udp: provide a struct net pointer for __udp[46]_lib_mcast_deliver</title>
<updated>2008-06-17T00:12:11Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-06-17T00:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e31634931d00081c75e3fb3f3ec51a50dbf108bb'/>
<id>urn:sha1:e31634931d00081c75e3fb3f3ec51a50dbf108bb</id>
<content type='text'>
They both calculate the hash chain, but currently do not have
a struct net pointer, so pass one there via additional argument,
all the more so their callers already have such.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>udp: introduce a udp_hashfn function</title>
<updated>2008-06-17T00:11:50Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-06-17T00:11:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6266281f8175e3ad68c28b20a609b278b47ade5'/>
<id>urn:sha1:d6266281f8175e3ad68c28b20a609b278b47ade5</id>
<content type='text'>
Currently the chain to store a UDP socket is calculated with
simple (x &amp; (UDP_HTABLE_SIZE - 1)). But taking net into account
would make this calculation a bit more complex, so moving it into
a function would help.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: change proto destroy method to return void</title>
<updated>2008-06-15T00:04:49Z</updated>
<author>
<name>Brian Haley</name>
</author>
<published>2008-06-15T00:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d06b2e053d2d536348e3a0f6bb02982a41bea37'/>
<id>urn:sha1:7d06b2e053d2d536348e3a0f6bb02982a41bea37</id>
<content type='text'>
Change struct proto destroy function pointer to return void.  Noticed
by Al Viro.

Signed-off-by: Brian Haley &lt;brian.haley@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove CVS keywords</title>
<updated>2008-06-12T04:00:38Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-06-11T05:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b040829952d84bf2a62526f0e24b624e0699447'/>
<id>urn:sha1:0b040829952d84bf2a62526f0e24b624e0699447</id>
<content type='text'>
This patch removes CVS keywords that weren't updated for a long time
from comments.

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