<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv4/udp.c, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-09-15T00:15:19Z</updated>
<entry>
<title>[IPV4]: Just increment OutDatagrams once per a datagram.</title>
<updated>2007-09-15T00:15:19Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2007-09-15T00:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a0c6c980d209827e5d69017fa736f107a744d1d'/>
<id>urn:sha1:2a0c6c980d209827e5d69017fa736f107a744d1d</id>
<content type='text'>
Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[UDP]: Fix length check.</title>
<updated>2007-07-11T06:06:43Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-07-11T06:06:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3be550f34b03e5eb762f74d447ebbeba97efbd6d'/>
<id>urn:sha1:3be550f34b03e5eb762f74d447ebbeba97efbd6d</id>
<content type='text'>
Rémi Denis-Courmont wrote:
&gt; Right. By the way, shouldn't "len" rather be signed in there?
&gt; 
&gt; 		unsigned int len;
&gt; 
&gt; 		/* if we're overly short, let UDP handle it */
&gt; 		len = skb-&gt;len - sizeof(struct udphdr);
&gt; 		if (len &lt;= 0)
&gt; 			goto udp;

It should, but the &lt; 0 case can't happen since __udp4_lib_rcv
already makes sure that we have at least a complete UDP header.

Anyways, this patch fixes it.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[UDP]: Cleanup UDP encapsulation code</title>
<updated>2007-07-11T05:16:53Z</updated>
<author>
<name>James Chapman</name>
</author>
<published>2007-07-06T00:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=067b207b281db5e3f03f8d244286c20f61aa2343'/>
<id>urn:sha1:067b207b281db5e3f03f8d244286c20f61aa2343</id>
<content type='text'>
This cleanup fell out after adding L2TP support where a new encap_rcv
funcptr was added to struct udp_sock. Have XFRM use the new encap_rcv
funcptr, which allows us to move the XFRM encap code from udp.c into
xfrm4_input.c.

Make xfrm4_rcv_encap() static since it is no longer called externally.

Signed-off-by: James Chapman &lt;jchapman@katalix.com&gt;
Acked-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[UDP]: Introduce UDP encapsulation type for L2TP</title>
<updated>2007-07-11T05:15:57Z</updated>
<author>
<name>James Chapman</name>
</author>
<published>2007-06-27T22:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=342f0234c71b40da785dd6a7ce1dd481ecbfdb81'/>
<id>urn:sha1:342f0234c71b40da785dd6a7ce1dd481ecbfdb81</id>
<content type='text'>
This patch adds a new UDP_ENCAP_L2TPINUDP encapsulation type for UDP
sockets. When a UDP socket's encap_type is UDP_ENCAP_L2TPINUDP, the
skb is delivered to a function pointed to by the udp_sock's
encap_rcv funcptr. If the skb isn't wanted by L2TP, it returns &gt;0, which
causes it to be passed through to UDP.

Include padding to put the new encap_rcv field on a 4-byte boundary.

Previously, the only user of UDP encap sockets was ESP, so when
CONFIG_XFRM was not defined, some of the encap code was compiled
out. This patch changes that. As a result, udp_encap_rcv() will
now do a little more work when CONFIG_XFRM is not defined.

Signed-off-by: James Chapman &lt;jchapman@katalix.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[UDP]: Revert 2-pass hashing changes.</title>
<updated>2007-06-07T20:40:50Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2007-06-05T22:18:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df2bc459a3ad71f8b44c358bf7169acf9caf4acd'/>
<id>urn:sha1:df2bc459a3ad71f8b44c358bf7169acf9caf4acd</id>
<content type='text'>
This reverts changesets:

6aaf47fa48d3c44280810b1b470261d340e4ed87
b7b5f487ab39bc10ed0694af35651a03d9cb97ff
de34ed91c4ffa4727964a832c46e624dd1495cf5
fc038410b4b1643766f8033f4940bcdb1dace633

There are still some correctness issues recently
discovered which do not have a known fix that doesn't
involve doing a full hash table scan on port bind.

So revert for now.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4]: Fix "ipOutNoRoutes" counter error for TCP and UDP</title>
<updated>2007-06-04T01:08:50Z</updated>
<author>
<name>Wei Dong</name>
</author>
<published>2007-06-01T05:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=584bdf8cbdf6f277c2a00e083257ee75687cf6f4'/>
<id>urn:sha1:584bdf8cbdf6f277c2a00e083257ee75687cf6f4</id>
<content type='text'>
Signed-off-by: Wei Dong &lt;weidong@cn.fujitsu.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[UDP]: Fix AF-specific references in AF-agnostic code.</title>
<updated>2007-05-11T06:47:22Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2007-05-09T23:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc038410b4b1643766f8033f4940bcdb1dace633'/>
<id>urn:sha1:fc038410b4b1643766f8033f4940bcdb1dace633</id>
<content type='text'>
__udp_lib_port_inuse() cannot make direct references to
inet_sk(sk)-&gt;rcv_saddr as that is ipv4 specific state and
this code is used by ipv6 too.

Use an operations vector to solve this, and this also paves
the way for ipv6 support for non-wild saddr hashing in UDP.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Fix occurrences of "the the "</title>
<updated>2007-05-09T06:57:56Z</updated>
<author>
<name>Michael Opdenacker</name>
</author>
<published>2007-05-09T06:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59c51591a0ac7568824f541f57de967e88adaa07'/>
<id>urn:sha1:59c51591a0ac7568824f541f57de967e88adaa07</id>
<content type='text'>
Signed-off-by: Michael Opdenacker &lt;michael@free-electrons.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[UDP]: Do not allow specific bind when wildcard bind exists.</title>
<updated>2007-04-30T21:51:58Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2007-04-30T21:51:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de34ed91c4ffa4727964a832c46e624dd1495cf5'/>
<id>urn:sha1:de34ed91c4ffa4727964a832c46e624dd1495cf5</id>
<content type='text'>
When allocating local ports, do not allow a bind to a port
with a specific local address when a bind to that port with
a wildcard local address already exists.

Noticed by Linus.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV4] UDP: Fix endianness bugs in hashing changes.</title>
<updated>2007-04-30T20:35:29Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2007-04-30T20:35:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7b5f487ab39bc10ed0694af35651a03d9cb97ff'/>
<id>urn:sha1:b7b5f487ab39bc10ed0694af35651a03d9cb97ff</id>
<content type='text'>
I accidently applied an earlier version of Eric Dumazet's patch, from
March 21st.  His version from March 30th didn't have these bugs, so
this just interdiffs to the correct patch.

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