<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/icmp.c, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-05-19T05:53:55Z</updated>
<entry>
<title>ICMPv6: treat dest unreachable codes 5 and 6 as EACCES, not EPROTO</title>
<updated>2014-05-19T05:53:55Z</updated>
<author>
<name>Jiri Bohac</name>
</author>
<published>2013-08-30T09:18:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43350267a502957eb232dfbde7b4bf9948dbaa59'/>
<id>urn:sha1:43350267a502957eb232dfbde7b4bf9948dbaa59</id>
<content type='text'>
[ Upstream commit 61e76b178dbe7145e8d6afa84bb4ccea71918994 ]

RFC 4443 has defined two additional codes for ICMPv6 type 1 (destination
unreachable) messages:
        5 - Source address failed ingress/egress policy
	6 - Reject route to destination

Now they are treated as protocol error and icmpv6_err_convert() converts them
to EPROTO.

RFC 4443 says:
	"Codes 5 and 6 are more informative subsets of code 1."

Treat codes 5 and 6 as code 1 (EACCES)

Btw, connect() returning -EPROTO confuses firefox, so that fallback to
other/IPv4 addresses does not work:
https://bugzilla.mozilla.org/show_bug.cgi?id=910773

Signed-off-by: Jiri Bohac &lt;jbohac@suse.cz&gt;
Acked-by: Hannes Frederic Sowa &lt;hannes@stressinduktion.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>net: constify struct inet6_protocol</title>
<updated>2009-09-15T00:03:05Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2009-09-14T12:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41135cc836a1abeb12ca1416bdb29e87ad021153'/>
<id>urn:sha1:41135cc836a1abeb12ca1416bdb29e87ad021153</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>inet6: Conversion from u8 to int</title>
<updated>2009-08-13T23:43:31Z</updated>
<author>
<name>Gerrit Renker</name>
</author>
<published>2009-08-09T08:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e651f03afe833326faa0abe55948c1c6cfd0b8ac'/>
<id>urn:sha1:e651f03afe833326faa0abe55948c1c6cfd0b8ac</id>
<content type='text'>
This replaces assignments of the type "int on LHS" = "u8 on RHS" with
simpler code. The LHS can express all of the unsigned right hand side
values, hence the assigned value can not be negative.

Signed-off-by: Gerrit Renker &lt;gerrit@erg.abdn.ac.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: Use correct data types for ICMPv6 type and code</title>
<updated>2009-06-23T11:31:07Z</updated>
<author>
<name>Brian Haley</name>
</author>
<published>2009-06-23T11:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5fdd6babcfc2b0e6a8da1acf492a69fb54b4c47'/>
<id>urn:sha1:d5fdd6babcfc2b0e6a8da1acf492a69fb54b4c47</id>
<content type='text'>
Change all the code that deals directly with ICMPv6 type and code
values to use u8 instead of a signed int as that's the actual data
type.

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: fix xfrm reverse flow lookup for icmp6</title>
<updated>2009-01-28T06:30:19Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2009-01-28T06:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c06a478c9e59d1584a5dc1b2b3519bae5d6546a'/>
<id>urn:sha1:6c06a478c9e59d1584a5dc1b2b3519bae5d6546a</id>
<content type='text'>
This patch fixes the xfrm reverse flow lookup for icmp6 so that icmp6 packets
don't get lost over ipsec tunnels. Similar patch is in RHEL5 kernel for a quite
long time and I do not see why it isn't in mainline.

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Acked-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>netns xfrm: lookup in netns</title>
<updated>2008-11-26T01:35:18Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2008-11-26T01:35:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52479b623d3d41df84c499325b6a8c7915413032'/>
<id>urn:sha1:52479b623d3d41df84c499325b6a8c7915413032</id>
<content type='text'>
Pass netns to xfrm_lookup()/__xfrm_lookup(). For that pass netns
to flow_cache_lookup() and resolver callback.

Take it from socket or netdevice. Stub DECnet to init_net.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>include/net net/ - csum_partial - remove unnecessary casts</title>
<updated>2008-11-19T23:44:53Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2008-11-19T23:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07f0757a6808f2f36a0e58c3a54867ccffdb8dc9'/>
<id>urn:sha1:07f0757a6808f2f36a0e58c3a54867ccffdb8dc9</id>
<content type='text'>
The first argument to csum_partial is const void *
casts to char/u8 * are not necessary

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>net: '&amp;' redux</title>
<updated>2008-11-04T02:21:05Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2008-11-04T02:21:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d9f239a1edb31d6133230f478fd1dc2da338ec5'/>
<id>urn:sha1:6d9f239a1edb31d6133230f478fd1dc2da338ec5</id>
<content type='text'>
I want to compile out proc_* and sysctl_* handlers totally and
stub them to NULL depending on config options, however usage of &amp;
will prevent this, since taking adress of NULL pointer will break
compilation.

So, drop &amp; in front of every -&gt;proc_handler and every -&gt;strategy
handler, it was never needed in fact.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: replace %p6 with %pI6</title>
<updated>2008-10-29T19:52:50Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2008-10-29T19:52:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad'/>
<id>urn:sha1:5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad</id>
<content type='text'>
Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: replace uses of NIP6_FMT with %p6</title>
<updated>2008-10-29T06:02:31Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2008-10-28T23:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c6ce78abf6e228d44c3840edb8a4ae0c1299825'/>
<id>urn:sha1:0c6ce78abf6e228d44c3840edb8a4ae0c1299825</id>
<content type='text'>
Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
