<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/ip6_output.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>ipv6: Copy cork options in ip6_append_data</title>
<updated>2009-02-17T17:28:57Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2009-02-05T23:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34a4aa0f5a4b67070651dcbabda7fdcac4647ecd'/>
<id>urn:sha1:34a4aa0f5a4b67070651dcbabda7fdcac4647ecd</id>
<content type='text'>
[ Upstream commit 0178b695fd6b40a62a215cbeb03dd51ada3bb5e0 ]

As the options passed to ip6_append_data may be ephemeral, we need
to duplicate it for corking.  This patch applies the simplest fix
which is to memdup all the relevant bits.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&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>ipv6: added net argument to ICMP6MSGOUT_INC_STATS_BH</title>
<updated>2008-10-08T18:15:05Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-10-08T17:34:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a57d4c7fdac0e227efe8c5739fcbb263d9ae993'/>
<id>urn:sha1:5a57d4c7fdac0e227efe8c5739fcbb263d9ae993</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>ipv6: added net argument to ICMP6_INC_STATS_BH</title>
<updated>2008-10-08T18:14:13Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-10-08T17:33:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e41b5368e029e79d11acb5952bc73284e5026c62'/>
<id>urn:sha1:e41b5368e029e79d11acb5952bc73284e5026c62</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>ipv6: added net argument to IP6_INC_STATS_BH</title>
<updated>2008-10-08T18:09:27Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-10-08T18:09:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=483a47d2fe794328d29950fe00ce26dd405d9437'/>
<id>urn:sha1:483a47d2fe794328d29950fe00ce26dd405d9437</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>netns: add net parameter to IP6_INC_STATS</title>
<updated>2008-10-08T17:54:51Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-10-08T17:54:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3bd653c8455bc7991bae77968702b31c8f5df883'/>
<id>urn:sha1:3bd653c8455bc7991bae77968702b31c8f5df883</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>ipv6: local dev is actually unused in ip6_fragment</title>
<updated>2008-10-08T17:52:42Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-10-08T17:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b0588d42b2774734b51525fe6550d77f8ea9bc0'/>
<id>urn:sha1:0b0588d42b2774734b51525fe6550d77f8ea9bc0</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>ipv6: Fix OOPS in ip6_dst_lookup_tail().</title>
<updated>2008-09-09T20:51:35Z</updated>
<author>
<name>Neil Horman</name>
</author>
<published>2008-09-09T20:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e550dfb0c2c31b6363aa463a035fc9f8dcaa3c9b'/>
<id>urn:sha1:e550dfb0c2c31b6363aa463a035fc9f8dcaa3c9b</id>
<content type='text'>
This fixes kernel bugzilla 11469: "TUN with 1024 neighbours:
ip6_dst_lookup_tail NULL crash"

dst-&gt;neighbour is not necessarily hooked up at this point
in the processing path, so blindly dereferencing it is
the wrong thing to do.  This NULL check exists in other
similar paths and this case was just an oversight.

Also fix the completely wrong and confusing indentation
here while we're at it.

Based upon a patch by Evgeniy Polyakov.

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netns: Add network namespace argument to rt6_fill_node() and ipv6_dev_get_saddr()</title>
<updated>2008-08-14T22:33:21Z</updated>
<author>
<name>Brian Haley</name>
</author>
<published>2008-08-14T22:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=191cd582500f49b32a63040fedeebb0168c720af'/>
<id>urn:sha1:191cd582500f49b32a63040fedeebb0168c720af</id>
<content type='text'>
ipv6_dev_get_saddr() blindly de-references dst_dev to get the network
namespace, but some callers might pass NULL.  Change callers to pass a
namespace pointer instead.

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>ipv6: Do not drop packet if skb-&gt;local_df is set to true</title>
<updated>2008-08-04T04:15:59Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2008-08-04T04:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=283d07ac201ee9f8aa6dc6f7519436b48760baff'/>
<id>urn:sha1:283d07ac201ee9f8aa6dc6f7519436b48760baff</id>
<content type='text'>
The old code will drop IPv6 packet if ipfragok is not set, since
ipfragok is obsoleted, will be instead by used skb-&gt;local_df, so this
check must be changed to skb-&gt;local_df.

This patch fix this problem and not drop packet if skb-&gt;local_df is
set to true.

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.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>ipv6: Fix ip6_xmit to send fragments if ipfragok is true</title>
<updated>2008-08-01T03:46:47Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2008-08-01T03:46:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77e2f14f71d68d05945f1d30ca55b5194d6ab1ce'/>
<id>urn:sha1:77e2f14f71d68d05945f1d30ca55b5194d6ab1ce</id>
<content type='text'>
SCTP used ip6_xmit() to send fragments after received ICMP packet too
big message. But while send packet used ip6_xmit, the skb-&gt;local_df is
not initialized. So when skb if enter ip6_fragment(), the following
code will discard the skb.

ip6_fragment(...)
{
    if (!skb-&gt;local_df) {
        ...
        return -EMSGSIZE;
    }
    ...
}

SCTP do the following step:
1. send packet ip6_xmit(skb, ipfragok=0)
2. received ICMP packet too big message
3. if PMTUD_ENABLE: ip6_xmit(skb, ipfragok=1)

This patch fixed the problem by set local_df if ipfragok is true.

Signed-off-by: Wei Yongjun &lt;yjwei@cn.fujitsu.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>
</feed>
