Re: ipv6 debugging

2008-02-18 Thread Jorge Boncompte [DTI2]
   This sounds to me like the same problem that I was having with OSPF, I 
think ARP(6) uses multicast ethernet address too. Can you try if the patch 
below, that I sent Patrick McHardy some days ago, fixes your problem?


   Regards,

   Jorge
---
   Hi Patrick,

   Commit a0a400d79e3dd7843e7e81baa3ef2957bdc292d0 from you
   introduced a new field da_synced to struct dev_addr_list that is
   not properly initialized to 0. So when any of the current users (8021q,
   macvlan, mac80211) calls dev_mc_sync/unsync they mess the address
   list for both devices.

   The attached patch fixed it for me and avoid future problems.

   Regards,

   Jorge

Signed-off-by: Jorge Boncompte [DTI2] [EMAIL PROTECTED]
---
diff --git a/net/core/dev.c b/net/core/dev.c
index 9549417..f1b6708 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2900,7 +2900,7 @@ int __dev_addr_add(struct dev_addr_list **list, int
*count,
   }
   }

-   da = kmalloc(sizeof(*da), GFP_ATOMIC);
+   da = kzalloc(sizeof(*da), GFP_ATOMIC);
   if (da == NULL)
   return -ENOMEM;
   memcpy(da-da_addr, addr, alen);

- Original Message - 
From: Ferenc Wagner [EMAIL PROTECTED]

To: netdev@vger.kernel.org
Sent: Monday, February 18, 2008 3:06 PM
Subject: ipv6 debugging



Hi,

I'm kindly asking for some debugging tips with the following problem:
a machine is running Linux 2.6.24.2, several 802.1q VLAN-s over
active/backup bonding over two physical interfaces.  Everything is
allright, except for after a reboot, there's no IPv6, while IPv4
works.  The router's ARP(6) table is empty, the machine doesn't answer
ping6.  However, if I start tcpdump -i bond0 ip6, everything is
allright again.  There are some indications that after some period
without IPv6 traffic, the same can happen again.  Are there known
issues which can exhibit themselves like this?  Other very similar
setups don't show this erratic behaviour.

I know that the above doesn't give a fully detailed picture, but
thought that I'd better ask before taking the setup into pieces.
--
Thanks for your thoughts,
Feri.
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: L2TP support?

2007-03-23 Thread Jorge Boncompte [DTI2]
- Original Message - 
From: James Chapman [EMAIL PROTECTED]

To: Ingo Oeser [EMAIL PROTECTED]
Cc: netdev@vger.kernel.org
Sent: Thursday, March 22, 2007 9:13 PM
Subject: Re: L2TP support?


Yes there is. There's a pppd plugin which comes with the openl2tp project, 
http://sf.net/projects/openl2tp. OpenL2TP supports both LAC and LNS 
operation. A patch is also available to allow this driver to be used with 
another L2TP implementation, l2tpd.





   Well, I am using a modified rp-l2tp with the pppol2tp kernel module 
myself so now it accounts for three implementations I guess :-)


   -Jorge

==
Jorge Boncompte - Ingenieria y Gestion de RED
DTI2 - Desarrollo de la Tecnologia de las Comunicaciones
--
C/ Abogado Enriquez Barrios, 5   14004 CORDOBA (SPAIN)
Tlf: +34 957 761395 / FAX: +34 957 450380
==
- Sin pistachos no hay Rock  Roll...
- Without wicker a basket cannot be made.
==


-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html