Author: maks-guest
Date: Mon Feb 12 10:21:26 2007
New Revision: 8302

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/net-ipv6-mcast.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/11
Log:
add the ipv6 mcast fix


Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog        (original)
+++ dists/sid/linux-2.6/debian/changelog        Mon Feb 12 10:21:26 2007
@@ -1,8 +1,10 @@
 linux-2.6 (2.6.18.dfsg.1-11) UNRELEASED; urgency=low
 
-  * Back out 2.6.16 patches. (closes: #410375)
 
- -- Bastian Blank <[EMAIL PROTECTED]>  Sat, 10 Feb 2007 11:17:30 +0100
+  [ maximilian attems ]
+  * Fix incomplete ipv6 patch from 2.6.16.38. (closes: #410375)
+
+ -- maximilian attems <[EMAIL PROTECTED]>  Mon, 12 Feb 2007 10:17:39 +0100
 
 linux-2.6 (2.6.18.dfsg.1-10) unstable; urgency=low
 

Added: dists/sid/linux-2.6/debian/patches/bugfix/net-ipv6-mcast.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/net-ipv6-mcast.patch      Mon Feb 
12 10:21:26 2007
@@ -0,0 +1,37 @@
+diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
+index 77da3a8..e8f1441 100644
+--- a/net/ipv6/addrconf.c
++++ b/net/ipv6/addrconf.c
+@@ -321,6 +321,7 @@ void in6_dev_finish_destroy(struct inet6_dev *idev)
+ static struct inet6_dev * ipv6_add_dev(struct net_device *dev)
+ {
+       struct inet6_dev *ndev;
++      struct in6_addr maddr;
+ 
+       ASSERT_RTNL();
+ 
+@@ -393,10 +394,6 @@ static struct inet6_dev * ipv6_add_dev(struct net_device 
*dev)
+       if (netif_carrier_ok(dev))
+               ndev->if_flags |= IF_READY;
+ 
+-      write_lock_bh(&addrconf_lock);
+-      dev->ip6_ptr = ndev;
+-      write_unlock_bh(&addrconf_lock);
+-
+       ipv6_mc_init_dev(ndev);
+       ndev->tstamp = jiffies;
+ #ifdef CONFIG_SYSCTL
+@@ -406,6 +403,13 @@ static struct inet6_dev * ipv6_add_dev(struct net_device 
*dev)
+                             NULL);
+       addrconf_sysctl_register(ndev, &ndev->cnf);
+ #endif
++      write_lock_bh(&addrconf_lock);
++      dev->ip6_ptr = ndev;
++      write_unlock_bh(&addrconf_lock);
++
++      /* Join all-node multicast group */
++      ipv6_addr_all_nodes(&maddr);
++      ipv6_dev_mc_inc(dev, &maddr);
+       return ndev;
+ }
+ 

Modified: dists/sid/linux-2.6/debian/patches/series/11
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/11        (original)
+++ dists/sid/linux-2.6/debian/patches/series/11        Mon Feb 12 10:21:26 2007
@@ -1,9 +1 @@
-- bugfix/2.6.16.30
-- bugfix/2.6.16.31
-- bugfix/2.6.16.32
-- bugfix/2.6.16.33
-- bugfix/2.6.16.34
-- bugfix/2.6.16.35
-- bugfix/2.6.16.37
-- bugfix/2.6.16.38
-- bugfix/2.6.16.39
++ bugfix/net-ipv6-mcast.patch

_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to