<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/route.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>2010-12-09T21:24:19Z</updated>
<entry>
<title>net: Fix IPv6 PMTU disc. w/ asymmetric routes</title>
<updated>2010-12-09T21:24:19Z</updated>
<author>
<name>Maciej Żenczykowski</name>
</author>
<published>2010-10-03T21:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c873a37d10ef7e9291b812421d7e6ef52f4793a'/>
<id>urn:sha1:7c873a37d10ef7e9291b812421d7e6ef52f4793a</id>
<content type='text'>
[ Upstream commit ae878ae280bea286ff2b1e1cb6e609dd8cb4501d ]

Signed-off-by: Maciej Żenczykowski &lt;maze@google.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>XFRM,IPv6: initialize ip6_dst_blackhole_ops.kmem_cachep</title>
<updated>2008-10-01T09:37:56Z</updated>
<author>
<name>Arnaud Ebalard</name>
</author>
<published>2008-10-01T09:37:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5dc121e9a7a8a3721cefeb07f3559f50fbedc67e'/>
<id>urn:sha1:5dc121e9a7a8a3721cefeb07f3559f50fbedc67e</id>
<content type='text'>
ip6_dst_blackhole_ops.kmem_cachep is not expected to be NULL (i.e. to
be initialized) when dst_alloc() is called from ip6_dst_blackhole().
Otherwise, it results in the following (xfrm_larval_drop is now set to
1 by default):

[   78.697642] Unable to handle kernel paging request for data at address 0x0000004c
[   78.703449] Faulting instruction address: 0xc0097f54
[   78.786896] Oops: Kernel access of bad area, sig: 11 [#1]
[   78.792791] PowerMac
[   78.798383] Modules linked in: btusb usbhid bluetooth b43 mac80211 cfg80211 ehci_hcd ohci_hcd sungem sungem_phy usbcore ssb
[   78.804263] NIP: c0097f54 LR: c0334a28 CTR: c002d430
[   78.809997] REGS: eef19ad0 TRAP: 0300   Not tainted  (2.6.27-rc5)
[   78.815743] MSR: 00001032 &lt;ME,IR,DR&gt;  CR: 22242482  XER: 20000000
[   78.821550] DAR: 0000004c, DSISR: 40000000
[   78.827278] TASK = eef0df40[3035] 'mip6d' THREAD: eef18000
[   78.827408] GPR00: 00001032 eef19b80 eef0df40 00000000 00008020 eef19c30 00000001 00000000
[   78.833249] GPR08: eee5101c c05a5c10 ef9ad500 00000000 24242422 1005787c 00000000 1004f960
[   78.839151] GPR16: 00000000 10024e90 10050040 48030018 0fe44150 00000000 00000000 eef19c30
[   78.845046] GPR24: eef19e44 00000000 eef19bf8 efb37c14 eef19bf8 00008020 00009032 c0596064
[   78.856671] NIP [c0097f54] kmem_cache_alloc+0x20/0x94
[   78.862581] LR [c0334a28] dst_alloc+0x40/0xc4
[   78.868451] Call Trace:
[   78.874252] [eef19b80] [c03c1810] ip6_dst_lookup_tail+0x1c8/0x1dc (unreliable)
[   78.880222] [eef19ba0] [c0334a28] dst_alloc+0x40/0xc4
[   78.886164] [eef19bb0] [c03cd698] ip6_dst_blackhole+0x28/0x1cc
[   78.892090] [eef19be0] [c03d9be8] rawv6_sendmsg+0x75c/0xc88
[   78.897999] [eef19cb0] [c038bca4] inet_sendmsg+0x4c/0x78
[   78.903907] [eef19cd0] [c03207c8] sock_sendmsg+0xac/0xe4
[   78.909734] [eef19db0] [c03209e4] sys_sendmsg+0x1e4/0x2a0
[   78.915540] [eef19f00] [c03220a8] sys_socketcall+0xfc/0x210
[   78.921406] [eef19f40] [c0014b3c] ret_from_syscall+0x0/0x38
[   78.927295] --- Exception: c01 at 0xfe2d730
[   78.927297]     LR = 0xfe2d71c
[   78.939019] Instruction dump:
[   78.944835] 91640018 9144001c 900a0000 4bffff44 9421ffe0 7c0802a6 bf810010 7c9d2378
[   78.950694] 90010024 7fc000a6 57c0045e 7c000124 &lt;83e3004c&gt; 8383005c 2f9f0000 419e0050
[   78.956464] ---[ end trace 05fa1ed7972487a1 ]---

As commented by Benjamin Thery, the bug was introduced by
f2fc6a54585a1be6669613a31fbaba2ecbadcd36, while adding network
namespaces support to ipv6 routes.

Signed-off-by: Arnaud Ebalard &lt;arno@natisbad.org&gt;
Acked-by: Benjamin Thery &lt;benjamin.thery@bull.net&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: Fix OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_route_output, rt6_fill_node+0x175</title>
<updated>2008-08-13T08:58:57Z</updated>
<author>
<name>Brian Haley</name>
</author>
<published>2008-08-13T08:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e0115e500fe9dd2ca11e6f92db9123204f1327a'/>
<id>urn:sha1:5e0115e500fe9dd2ca11e6f92db9123204f1327a</id>
<content type='text'>
Alexey Dobriyan wrote:
&gt; On Thu, Aug 07, 2008 at 07:00:56PM +0200, John Gumb wrote:
&gt;&gt; Scenario: no ipv6 default route set.
&gt; 
&gt;&gt; # ip -f inet6 route get fec0::1
&gt;&gt;
&gt;&gt; BUG: unable to handle kernel NULL pointer dereference at 00000000
&gt;&gt; IP: [&lt;c0369b85&gt;] rt6_fill_node+0x175/0x3b0
&gt;&gt; EIP is at rt6_fill_node+0x175/0x3b0
&gt; 
&gt; 0xffffffff80424dd3 is in rt6_fill_node (net/ipv6/route.c:2191).
&gt; 2186                    } else
&gt; 2187    #endif
&gt; 2188                            NLA_PUT_U32(skb, RTA_IIF, iif);
&gt; 2189            } else if (dst) {
&gt; 2190                    struct in6_addr saddr_buf;
&gt; 2191      ====&gt;         if (ipv6_dev_get_saddr(ip6_dst_idev(&amp;rt-&gt;u.dst)-&gt;dev,
&gt;					       ^^^^^^^^^^^^^^^^^^^^^^^^
&gt;											NULL
&gt; 
&gt; 2192                                           dst, 0, &amp;saddr_buf) == 0)
&gt; 2193                            NLA_PUT(skb, RTA_PREFSRC, 16, &amp;saddr_buf);
&gt; 2194            }

The commit that changed this can't be reverted easily, but the patch
below works for me.

Fix NULL de-reference in rt6_fill_node() when there's no IPv6 input
device present in the dst entry.

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: replace dst_metric() with dst_mtu() in net/ipv6/route.c.</title>
<updated>2008-08-06T09:34:21Z</updated>
<author>
<name>Rami Rosen</name>
</author>
<published>2008-08-06T09:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ca615fb816ba85dc765209a9b58ab82cc99bce0'/>
<id>urn:sha1:1ca615fb816ba85dc765209a9b58ab82cc99bce0</id>
<content type='text'>
This patch replaces dst_metric() with dst_mtu() in net/ipv6/route.c.

Signed-off-by: Rami Rosen &lt;ramirose@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: icmp6_dst_gc return change</title>
<updated>2008-07-22T21:35:50Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2008-07-22T21:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d0f24a74e7957593a5622eb5c04ed6860dd8391'/>
<id>urn:sha1:3d0f24a74e7957593a5622eb5c04ed6860dd8391</id>
<content type='text'>
Change icmp6_dst_gc to return the one value the caller cares about rather
than using call by reference.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6 netns: Make several "global" sysctl variables namespace aware.</title>
<updated>2008-07-20T05:35:03Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2008-07-20T05:35:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53b7997fd5c62408d10b9aafb38974ce90fd2356'/>
<id>urn:sha1:53b7997fd5c62408d10b9aafb38974ce90fd2356</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>proc: consolidate per-net single-release callers</title>
<updated>2008-07-18T11:07:44Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-18T11:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b6fcbdb4f283f7ba67cec3cda6be23da8e959031'/>
<id>urn:sha1:b6fcbdb4f283f7ba67cec3cda6be23da8e959031</id>
<content type='text'>
They are symmetrical to single_open ones :)

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>proc: consolidate per-net single_open callers</title>
<updated>2008-07-18T11:07:21Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-07-18T11:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de05c557b24c7dffc6d392e3db120cf11c9f6ae7'/>
<id>urn:sha1:de05c557b24c7dffc6d392e3db120cf11c9f6ae7</id>
<content type='text'>
There are already 7 of them - time to kill some duplicate code.

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>ipv6 route: Prefer outgoing interface with source address assigned.</title>
<updated>2008-07-03T08:51:56Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2008-07-02T09:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd3abc4ef52597ec8268274222574b2700ba3ded'/>
<id>urn:sha1:dd3abc4ef52597ec8268274222574b2700ba3ded</id>
<content type='text'>
Outgoing interface is selected by the route decision if unspecified.
Let's prefer routes via interface(s) with the address assigned if we
have multiple routes with same cost.
With help from Naohiro Ooiwa &lt;nooiwa@miraclelinux.com&gt;.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
</feed>
