<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/udp.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-02-17T17:28:57Z</updated>
<entry>
<title>udp: increments sk_drops in __udp_queue_rcv_skb()</title>
<updated>2009-02-17T17:28:57Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2009-02-02T21:41:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3c21d60f14e68ef5e3b792e6e1c00a12c94c110'/>
<id>urn:sha1:f3c21d60f14e68ef5e3b792e6e1c00a12c94c110</id>
<content type='text'>
[ Upstream commit e408b8dcb5ce42243a902205005208e590f28454 ]

Commit 93821778def10ec1e69aa3ac10adee975dad4ff3 (udp: Fix rcv socket
locking) accidentally removed sk_drops increments for UDP IPV4
sockets.

This field can be used to detect incorrect sizing of socket receive
buffers.

Signed-off-by: Eric Dumazet &lt;dada1@cosmosbay.com&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: Fix UDP short packet false positive</title>
<updated>2009-02-17T17:28:56Z</updated>
<author>
<name>Jesper Dangaard Brouer</name>
</author>
<published>2009-02-05T23:05:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1888776132257cf5e0d806dd5c0665f436738644'/>
<id>urn:sha1:1888776132257cf5e0d806dd5c0665f436738644</id>
<content type='text'>
[ Upstream commit 7b5e56f9d635643ad54f2f42e69ad16b80a2cff1 ]

The UDP header pointer assignment must happen after calling
pskb_may_pull().  As pskb_may_pull() can potentially alter the SKB
buffer.

This was exposted by running multicast traffic through the NIU driver,
as it won't prepull the protocol headers into the linear area on
receive.

Signed-off-by: Jesper Dangaard Brouer &lt;hawk@comx.dk&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>TPROXY: fill struct flowi-&gt;flags in udp_sendmsg()</title>
<updated>2008-11-20T09:07:24Z</updated>
<author>
<name>Balazs Scheidler</name>
</author>
<published>2008-11-20T09:07:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a134f85c131ffd56720e38af2967ec6265480757'/>
<id>urn:sha1:a134f85c131ffd56720e38af2967ec6265480757</id>
<content type='text'>
    udp_sendmsg() didn't fill struct flowi-&gt;flags, which means that
    the route lookup would fail for non-local IPs even if the
    IP_TRANSPARENT sockopt was set.

    This prevents sendto() to work properly for UDP sockets, whereas
    bind(foreign-ip) + connect() + send() worked fine.

Signed-off-by: Balazs Scheidler &lt;bazsi@balabit.hu&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>udp: multicast packets need to check namespace</title>
<updated>2008-11-02T04:22:23Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2008-11-02T04:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=920a46115ca3fa88990276d98520abab85495b2d'/>
<id>urn:sha1:920a46115ca3fa88990276d98520abab85495b2d</id>
<content type='text'>
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;
</content>
</entry>
<entry>
<title>net: Rationalise email address: Network Specific Parts</title>
<updated>2008-10-14T02:01:08Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-10-14T02:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=113aa838ec3a235d883f8357d31d90e16c47fc89'/>
<id>urn:sha1:113aa838ec3a235d883f8357d31d90e16c47fc89</id>
<content type='text'>
Clean up the various different email addresses of mine listed in the code
to a single current and valid address. As Dave says his network merges
for 2.6.28 are now done this seems a good point to send them in where
they won't risk disrupting real changes.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>udp: complete port availability checking</title>
<updated>2008-10-09T21:51:27Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2008-10-09T21:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f24d43c07e208372aa3d3bff419afbf43ba87698'/>
<id>urn:sha1:f24d43c07e208372aa3d3bff419afbf43ba87698</id>
<content type='text'>
While looking at UDP port randomization, I noticed it
was litle bit pessimistic, not looking at type of sockets
(IPV6/IPV4) and not looking at bound addresses if any.

We should perform same tests than when binding to a
specific port.

This permits a cleanup of udp_lib_get_port()

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: Improve port randomization</title>
<updated>2008-10-08T18:44:17Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2008-10-08T18:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9088c5609584684149f3fb5b065aa7f18dcb03ff'/>
<id>urn:sha1:9088c5609584684149f3fb5b065aa7f18dcb03ff</id>
<content type='text'>
Current UDP port allocation is suboptimal.
We select the shortest chain to chose a port (out of 512)
that will hash in this shortest chain.

First, it can lead to give not so ramdom ports and ease
give attackers more opportunities to break the system.

Second, it can consume a lot of CPU to scan all table
in order to find the shortest chain.

Third, in some pathological cases we can fail to find
a free port even if they are plenty of them.

This patch zap the search for a short chain and only
use one random seed. Problem of getting long chains
should be addressed in another way, since we can
obtain long chains with non random ports.

Based on a report and patch from Vitaly Mayatskikh

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>netns: make udpv6 mib per/namespace</title>
<updated>2008-10-07T21:49:36Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-10-07T21:49:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c7ed677fb7013c8028045d409a48ac42151187a'/>
<id>urn:sha1:0c7ed677fb7013c8028045d409a48ac42151187a</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>inet: Don't lookup the socket if there's a socket attached to the skb</title>
<updated>2008-10-07T19:41:01Z</updated>
<author>
<name>KOVACS Krisztian</name>
</author>
<published>2008-10-07T19:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23542618deb77cfed312842fe8c41ed19fb16470'/>
<id>urn:sha1:23542618deb77cfed312842fe8c41ed19fb16470</id>
<content type='text'>
Use the socket cached in the skb if it's present.

Signed-off-by: KOVACS Krisztian &lt;hidden@sch.bme.hu&gt;
Acked-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet: Add udplib_lookup_skb() helpers</title>
<updated>2008-10-07T19:38:32Z</updated>
<author>
<name>KOVACS Krisztian</name>
</author>
<published>2008-10-07T19:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=607c4aaf03041c8bd81555a0218050c0f895088e'/>
<id>urn:sha1:607c4aaf03041c8bd81555a0218050c0f895088e</id>
<content type='text'>
To be able to use the cached socket reference in the skb during input
processing we add a new set of lookup functions that receive the skb on
their argument list.

Signed-off-by: KOVACS Krisztian &lt;hidden@sch.bme.hu&gt;
Acked-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
