<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/addrconf.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>2008-08-23T12:16:46Z</updated>
<entry>
<title>ipv6: protocol for address routes</title>
<updated>2008-08-23T12:16:46Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2008-08-23T12:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f410a1fba7afa79d2992620e874a343fdba28332'/>
<id>urn:sha1:f410a1fba7afa79d2992620e874a343fdba28332</id>
<content type='text'>
This fixes a problem spotted with zebra, but not sure if it is
necessary a kernel problem.  With IPV6 when an address is added to an
interface, Zebra creates a duplicate RIB entry, one as a connected
route, and other as a kernel route.

When an address is added to an interface the RTN_NEWADDR message
causes Zebra to create a connected route. In IPV4 when an address is
added to an interface a RTN_NEWROUTE message is set to user space with
the protocol RTPROT_KERNEL. Zebra ignores these messages, because it
already has the connected route.

The problem is that route created in IPV6 has route protocol ==
RTPROT_BOOT.  Was this a design decision or a bug? This fixes it. Same
patch applies to both net-2.6 and stable.

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>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>net: convert BUG_TRAP to generic WARN_ON</title>
<updated>2008-07-26T04:43:18Z</updated>
<author>
<name>Ilpo Järvinen</name>
</author>
<published>2008-07-26T04:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=547b792cac0a038b9dbf958d3c120df3740b5572'/>
<id>urn:sha1:547b792cac0a038b9dbf958d3c120df3740b5572</id>
<content type='text'>
Removes legacy reinvent-the-wheel type thing. The generic
machinery integrates much better to automated debugging aids
such as kerneloops.org (and others), and is unambiguous due to
better naming. Non-intuively BUG_TRAP() is actually equal to
WARN_ON() rather than BUG_ON() though some might actually be
promoted to BUG_ON() but I left that to future.

I could make at least one BUILD_BUG_ON conversion.

Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@helsinki.fi&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: make struct ipv6_devconf static</title>
<updated>2008-07-22T21:21:58Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-07-22T21:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=888c848ed34bd5f8cb56567624c0d951ab35174e'/>
<id>urn:sha1:888c848ed34bd5f8cb56567624c0d951ab35174e</id>
<content type='text'>
struct ipv6_devconf can now become static.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: Fix warning in addrconf code.</title>
<updated>2008-07-21T04:18:26Z</updated>
<author>
<name>David Miller</name>
</author>
<published>2008-07-21T01:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=702beb87d6b4e08cca394b210679e5d7c2ac9383'/>
<id>urn:sha1:702beb87d6b4e08cca394b210679e5d7c2ac9383</id>
<content type='text'>
Reported by Linus.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&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>pkt_sched: Add qdisc_tx_is_noop() helper and use in IPV6.</title>
<updated>2008-07-09T06:01:27Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-07-09T06:01:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=052979499c767268b912d25031ae524c451679d0'/>
<id>urn:sha1:052979499c767268b912d25031ae524c451679d0</id>
<content type='text'>
This indicates if the NOOP scheduler is what is active for TX on a
given device.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netdev: Move rest of qdisc state into struct netdev_queue</title>
<updated>2008-07-09T00:42:10Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-07-09T00:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0e1e6462df3c5944010b3328a546d8fe5d932cd'/>
<id>urn:sha1:b0e1e6462df3c5944010b3328a546d8fe5d932cd</id>
<content type='text'>
Now qdisc, qdisc_sleeping, and qdisc_list also live there.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2008-07-08T23:30:17Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-07-08T23:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c3ceb4a409e2b838700edf081d61a8a4c921e79'/>
<id>urn:sha1:7c3ceb4a409e2b838700edf081d61a8a4c921e79</id>
<content type='text'>
Conflicts:

	drivers/net/wireless/iwlwifi/iwl-3945.c
	net/mac80211/mlme.c
</content>
</entry>
<entry>
<title>ipv6: fix race between ipv6_del_addr and DAD timer</title>
<updated>2008-07-08T22:13:31Z</updated>
<author>
<name>Andrey Vagin</name>
</author>
<published>2008-07-08T22:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2238566401f01eb796e75750213c7b0fce396b2'/>
<id>urn:sha1:b2238566401f01eb796e75750213c7b0fce396b2</id>
<content type='text'>
Consider the following scenario:

ipv6_del_addr(ifp)
  ipv6_ifa_notify(RTM_DELADDR, ifp)
    ip6_del_rt(ifp-&gt;rt)

after returning from the ipv6_ifa_notify and enabling BH-s
back, but *before* calling the addrconf_del_timer the 
ifp-&gt;timer fires and:

addrconf_dad_timer(ifp)
  addrconf_dad_completed(ifp)
    ipv6_ifa_notify(RTM_NEWADDR, ifp)
      ip6_ins_rt(ifp-&gt;rt)

then return back to the ipv6_del_addr and:

in6_ifa_put(ifp)
  inet6_ifa_finish_destroy(ifp)
    dst_release(&amp;ifp-&gt;rt-&gt;u.dst)

After this we have an ifp-&gt;rt inserted into fib6 lists, but 
queued for gc, which in turn can result in oopses in the
fib6_run_gc. Maybe some other nasty things, but we caught 
only the oops in gc so far.

The solution is to disarm the ifp-&gt;timer before flushing the
rt from it.

Signed-off-by: Andrey Vagin &lt;avagin@parallels.com&gt;
Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
