<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ipv6/addrconf.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-12-17T02:26:26Z</updated>
<entry>
<title>ipv6: don't flush routes when setting loopback down</title>
<updated>2010-12-17T02:26:26Z</updated>
<author>
<name>stephen hemminger</name>
</author>
<published>2010-12-16T11:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29ba5fed1bbd09c2cba890798c8f9eaab251401d'/>
<id>urn:sha1:29ba5fed1bbd09c2cba890798c8f9eaab251401d</id>
<content type='text'>
When loopback device is being brought down, then keep the route table
entries because they are special. The entries in the local table for
linklocal routes and ::1 address should not be purged.

This is a sub optimal solution to the problem and should be replaced
by a better fix in future.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Acked-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: fix nl group when advertising a new link</title>
<updated>2010-12-10T20:49:36Z</updated>
<author>
<name>Nicolas Dichtel</name>
</author>
<published>2010-12-07T23:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f75a1042feca37c0a436ba42a4b1f7f75c35778'/>
<id>urn:sha1:5f75a1042feca37c0a436ba42a4b1f7f75c35778</id>
<content type='text'>
New idev are advertised with NL group RTNLGRP_IPV6_IFADDR, but
should use RTNLGRP_IPV6_IFINFO.
Bug was introduced by commit 8d7a76c9.

Signed-off-by: Wang Xuefu &lt;xuefu.wang@6wind.com&gt;
Signed-off-by: Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;
Acked-by: Thomas Graf &lt;tgraf@infradead.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: fix missing in6_ifa_put in addrconf</title>
<updated>2010-11-22T15:37:36Z</updated>
<author>
<name>John Fastabend</name>
</author>
<published>2010-11-15T20:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88b2a9a3d98a19496d64aadda7158c0ad51cbe7d'/>
<id>urn:sha1:88b2a9a3d98a19496d64aadda7158c0ad51cbe7d</id>
<content type='text'>
Fix ref count bug introduced by

commit 2de795707294972f6c34bae9de713e502c431296
Author: Lorenzo Colitti &lt;lorenzo@google.com&gt;
Date:   Wed Oct 27 18:16:49 2010 +0000

ipv6: addrconf: don't remove address state on ifdown if the address
is being kept

Fix logic so that addrconf_ifdown() decrements the inet6_ifaddr
refcnt correctly with in6_ifa_put().

Reported-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Acked-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: Expose reachable and retrans timer values as msecs</title>
<updated>2010-11-18T20:08:36Z</updated>
<author>
<name>Thomas Graf</name>
</author>
<published>2010-11-17T04:12:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18a31e1e282f9ed563b131526a88162ccbe04ee3'/>
<id>urn:sha1:18a31e1e282f9ed563b131526a88162ccbe04ee3</id>
<content type='text'>
Expose reachable and retrans timer values in msecs instead of jiffies.
Both timer values are already exposed as msecs in the neighbour table
netlink interface.

The creation timestamp format with increased precision is kept but
cleaned up.

Signed-off-by: Thomas Graf &lt;tgraf@infradead.org&gt;
Cc: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: Expose IFLA_PROTINFO timer values in msecs instead of jiffies</title>
<updated>2010-11-18T19:05:01Z</updated>
<author>
<name>Thomas Graf</name>
</author>
<published>2010-11-17T01:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93908d192686d8285dd6441ff855df92a40103d2'/>
<id>urn:sha1:93908d192686d8285dd6441ff855df92a40103d2</id>
<content type='text'>
IFLA_PROTINFO exposes timer related per device settings in jiffies.
Change it to expose these values in msecs like the sysctl interface
does.

I did not find any users of IFLA_PROTINFO which rely on any of these
values and even if there are, they are likely already broken because
there is no way for them to reliably convert such a value to another
time format.

Signed-off-by: Thomas Graf &lt;tgraf@infradead.org&gt;
Cc: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: addrconf: don't remove address state on ifdown if the address is being kept</title>
<updated>2010-11-12T21:44:24Z</updated>
<author>
<name>Lorenzo Colitti</name>
</author>
<published>2010-10-27T18:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2de795707294972f6c34bae9de713e502c431296'/>
<id>urn:sha1:2de795707294972f6c34bae9de713e502c431296</id>
<content type='text'>
Currently, addrconf_ifdown does not delete statically configured IPv6
addresses when the interface is brought down. The intent is that when
the interface comes back up the address will be usable again. However,
this doesn't actually work, because the system stops listening on the
corresponding solicited-node multicast address, so the address cannot
respond to neighbor solicitations and thus receive traffic. Also, the
code notifies the rest of the system that the address is being deleted
(e.g, RTM_DELADDR), even though it is not. Fix it so that none of this
state is updated if the address is being kept on the interface.

Tested: Added a statically configured IPv6 address to an interface,
started ping, brought link down, brought link up again. When link came
up ping kept on going and "ip -6 maddr" showed that the host was still
subscribed to there

Signed-off-by: Lorenzo Colitti &lt;lorenzo@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: fix refcnt problem related to POSTDAD state</title>
<updated>2010-10-27T18:37:30Z</updated>
<author>
<name>Ursula Braun</name>
</author>
<published>2010-10-24T23:06:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=853dc2e03ddd0c49885ed55c48755d2b1073122a'/>
<id>urn:sha1:853dc2e03ddd0c49885ed55c48755d2b1073122a</id>
<content type='text'>
After running this bonding setup script
    modprobe bonding miimon=100 mode=0 max_bonds=1
    ifconfig bond0 10.1.1.1/16
    ifenslave bond0 eth1
    ifenslave bond0 eth3
on s390 with qeth-driven slaves, modprobe -r fails with this message
    unregister_netdevice: waiting for bond0 to become free. Usage count = 1
due to twice detection of duplicate address.
Problem is caused by a missing decrease of ifp-&gt;refcnt in addrconf_dad_failure.
An extra call of in6_ifa_put(ifp) solves it.
Problem has been introduced with commit f2344a131bccdbfc5338e17fa71a807dee7944fa.

Signed-off-by: Ursula Braun &lt;ursula.braun@de.ibm.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Cc: Herbert Xu &lt;herbert@gondor.apana.org.au&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: Temp addresses are immediately deleted.</title>
<updated>2010-10-26T19:35:13Z</updated>
<author>
<name>Glenn Wurster</name>
</author>
<published>2010-09-27T07:10:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a876b0efcba3804da3051313445fa7be751cab7'/>
<id>urn:sha1:7a876b0efcba3804da3051313445fa7be751cab7</id>
<content type='text'>
There is a bug in the interaction between ipv6_create_tempaddr and
addrconf_verify.  Because ipv6_create_tempaddr uses the cstamp and tstamp
from the public address in creating a private address, if we have not
received a router advertisement in a while, tstamp + temp_valid_lft might be
&lt; now.  If this happens, the new address is created inside
ipv6_create_tempaddr, then the loop within addrconf_verify starts again and
the address is immediately deleted.  We are left with no temporary addresses
on the interface, and no more will be created until the public IP address is
updated.  To avoid this, set the expiry time to be the minimum of the time
left on the public address or the config option PLUS the current age of the
public interface.

Signed-off-by: Glenn Wurster &lt;gwurster@scs.carleton.ca&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>IPv6: Create temporary address if none exists.</title>
<updated>2010-10-26T19:35:12Z</updated>
<author>
<name>Glenn Wurster</name>
</author>
<published>2010-09-27T07:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aed65501e8c072b52c5b4dc807cd938659329673'/>
<id>urn:sha1:aed65501e8c072b52c5b4dc807cd938659329673</id>
<content type='text'>
If privacy extentions are enabled, but no current temporary address exists,
then create one when we get a router advertisement.

Signed-off-by: Glenn Wurster &lt;gwurster@scs.carleton.ca&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ipv6: make __ipv6_isatap_ifid static</title>
<updated>2010-10-05T07:47:39Z</updated>
<author>
<name>stephen hemminger</name>
</author>
<published>2010-10-04T20:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c61393ea83573ff422af505b6fd49ef9ec9b91ca'/>
<id>urn:sha1:c61393ea83573ff422af505b6fd49ef9ec9b91ca</id>
<content type='text'>
Another exported symbol only used in one file

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Acked-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
