<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/net/ipv6, branch v2.6.15</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=v2.6.15</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=v2.6.15'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2005-12-27T22:03:00Z</updated>
<entry>
<title>[IPV6] mcast: Fix multiple issues in MLDv2 reports.</title>
<updated>2005-12-27T22:03:00Z</updated>
<author>
<name>David L Stevens</name>
<email>dlstevens@us.ibm.com</email>
</author>
<published>2005-12-27T22:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=5ab4a6c81eb3dbe32361791d1535f9153f79b0ed'/>
<id>urn:sha1:5ab4a6c81eb3dbe32361791d1535f9153f79b0ed</id>
<content type='text'>
The below "jumbo" patch fixes the following problems in MLDv2.

1) Add necessary "ntohs" to recent "pskb_may_pull" check [breaks
        all nonzero source queries on little-endian (!)]

2) Add locking to source filter list [resend of prior patch]

3) fix "mld_marksources()" to
        a) send nothing when all queried sources are excluded
        b) send full exclude report when source queried sources are
                not excluded
        c) don't schedule a timer when there's nothing to report

NOTE: RFC 3810 specifies the source list should be saved and each
  source reported individually as an IS_IN. This is an obvious DOS
  path, requiring the host to store and then multicast as many sources
  as are queried (e.g., millions...). This alternative sends a full, 
  relevant report that's limited to number of sources present on the
  machine.

4) fix "add_grec()" to send empty-source records when it should
        The original check doesn't account for a non-empty source
        list with all sources inactive; the new code keeps that
        short-circuit case, and also generates the group header
        with an empty list if needed.

5) fix mca_crcount decrement to be after add_grec(), which needs
        its original value

These issues (other than item #1 ;-) ) were all found by Yan Zheng,
much thanks!

Signed-off-by: David L Stevens &lt;dlstevens@us.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Fix addrconf dead lock.</title>
<updated>2005-12-27T21:35:15Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2005-12-27T21:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=6732badee0dad467fcc9dd0168af8677b2b1bc2f'/>
<id>urn:sha1:6732badee0dad467fcc9dd0168af8677b2b1bc2f</id>
<content type='text'>
We need to release idev-&gt;lcok before we call addrconf_dad_stop().
It calls ipv6_addr_del(), which will hold idev-&gt;lock.

Bug spotted by Yasuyuki KOZAKAI &lt;yasuyuki.kozakai@toshiba.co.jp&gt;.

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>[IPV6]: Increase default MLD_MAX_MSF to 64.</title>
<updated>2005-12-27T01:03:46Z</updated>
<author>
<name>David L Stevens</name>
<email>dlstevens@us.ibm.com</email>
</author>
<published>2005-12-27T01:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=6f4353d891b5e477528cd0b996e0263fecdf5d5f'/>
<id>urn:sha1:6f4353d891b5e477528cd0b996e0263fecdf5d5f</id>
<content type='text'>
The existing default of 10 is just way too low.

Signed-off-by: David L Stevens &lt;dlstevens@us.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Fix Temporary Address Generation</title>
<updated>2005-12-23T19:24:05Z</updated>
<author>
<name>Hiroyuki YAMAMORI</name>
<email>h-yamamo@db3.so-net.ne.jp</email>
</author>
<published>2005-12-23T19:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=291d809ba5c8d4d6d8812e3f185bdf57d539f594'/>
<id>urn:sha1:291d809ba5c8d4d6d8812e3f185bdf57d539f594</id>
<content type='text'>
From: Hiroyuki YAMAMORI &lt;h-yamamo@db3.so-net.ne.jp&gt;

Since regen_count is stored in the public address, we need to reset it
when we start renewing temporary address.

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>[IPV6]: Fix dead lock.</title>
<updated>2005-12-23T19:23:21Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2005-12-23T19:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=3dd3bf83574e38578fc9741c0e23e4fa7f7ff96e'/>
<id>urn:sha1:3dd3bf83574e38578fc9741c0e23e4fa7f7ff96e</id>
<content type='text'>
We need to relesae ifp-&gt;lock before we call addrconf_dad_stop(),
which will hold ifp-&gt;lock.

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>Merge git://git.skbuff.net/gitroot/yoshfuji/linux-2.6.14+git+ipv6-fix-20051221a</title>
<updated>2005-12-22T15:41:27Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@sunset.davemloft.net</email>
</author>
<published>2005-12-22T15:41:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e6469297d4eecfd9f46929fe1f56a01141cb0791'/>
<id>urn:sha1:e6469297d4eecfd9f46929fe1f56a01141cb0791</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[IPV6]: Fix address deletion</title>
<updated>2005-12-22T02:47:24Z</updated>
<author>
<name>Kristian Slavov</name>
<email>kristian.slavov@nomadiclab.com</email>
</author>
<published>2005-12-22T02:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=1d1428045c54ef3d172d480806e2066dde0b4b76'/>
<id>urn:sha1:1d1428045c54ef3d172d480806e2066dde0b4b76</id>
<content type='text'>
If you add more than one IPv6 address belonging to the same prefix and 
delete the address that was last added, routing table entry for that 
prefix is also deleted.
Tested on 2.6.14.4

To reproduce:
ip addr add 3ffe::1/64 dev eth0
ip addr add 3ffe::2/64 dev eth0
/* wait DAD */
sleep 1
ip addr del 3ffe::2/64 dev eth0
ip -6 route

(route to 3ffe::/64 should be gone)

In ipv6_del_addr(), if ifa == ifp, we set ifa-&gt;if_next to NULL, and later 
assign ifap = &amp;ifa-&gt;if_next, effectively terminating the for-loop.
This prevents us from checking if there are other addresses using the same 
prefix that are valid, and thus resulting in deletion of the prefix.
This applies only if the first entry in idev-&gt;addr_list is the address to 
be deleted.

Signed-off-by: Kristian Slavov &lt;kristian.slavov@nomadiclab.com&gt;
Acked-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Don't select a tentative address as a source address.</title>
<updated>2005-12-21T13:58:01Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2005-12-21T13:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=6b3ae80a63e47f6e97d68a1ddd520e3509e62821'/>
<id>urn:sha1:6b3ae80a63e47f6e97d68a1ddd520e3509e62821</id>
<content type='text'>
A tentative address is not considered "assigned to an interface"
in the traditional sense (RFC2462 Section 4).
Don't try to select such an address for the source address.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Run DAD when the link becomes ready.</title>
<updated>2005-12-21T13:57:44Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2005-12-21T13:57:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=c5e33bddd3c798f681f8f3027270127be6b61a3b'/>
<id>urn:sha1:c5e33bddd3c798f681f8f3027270127be6b61a3b</id>
<content type='text'>
If the link was not available when the interface was created,
run DAD for pending tentative addresses when the link becomes ready.

Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
</content>
</entry>
<entry>
<title>[IPV6]: Defer IPv6 device initialization until the link becomes ready.</title>
<updated>2005-12-21T13:57:24Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
<email>yoshfuji@linux-ipv6.org</email>
</author>
<published>2005-12-21T13:57:24Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=3c21edbd113788b110116141c8078623a0900b6a'/>
<id>urn:sha1:3c21edbd113788b110116141c8078623a0900b6a</id>
<content type='text'>
NETDEV_UP might be sent even if the link attached to the interface was
not ready.  DAD does not make sense in such case, so we won't do so.
After interface

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