netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help with bugfix for bond active-backup mode + vlans
@ 2006-07-24 16:37 Christophe Devriese
  2006-07-24 17:49 ` Jay Vosburgh
  0 siblings, 1 reply; 6+ messages in thread
From: Christophe Devriese @ 2006-07-24 16:37 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

First, in order to have correct behavior, it needs to be possible for the 
bonding driver to block packet reception on certain interfaces (in order, for 
example, to prevent the linux bridge from circular learning*). 

This needs to work both in the normal input path ( _receive_skb, netif_rx, ... 
in net/core/dev.c) and in the vlan input path (which changes the ->dev 
reference on the packets it's forwarding, which seriously complicates things, 
the vlan input path is located in include/linux/if_vlan __vlan_hwaccel_rx)

Would it be acceptable to have an interface flag IFF_SILENT that can be set on 
an interface, which prevents it from receiving packets in both forwarding 
paths ?

If not, how do I fix this issue ?

Cheers,

oelewapperke

* circular learning : see attachment 1 & 2
after the packet has travelled on the external switches, the mac address entry 
in the linux bridge for the domU's eth0 will point to the link where it last 
saw a packet with that source address, which is bond0. This prevents packet 
reception totally for the domU. (the bond0 is running in active_backup mode)

[-- Attachment #2: layout.png --]
[-- Type: image/png, Size: 18364 bytes --]

[-- Attachment #3: problempacket.png --]
[-- Type: image/png, Size: 27804 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-25  1:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 16:37 Help with bugfix for bond active-backup mode + vlans Christophe Devriese
2006-07-24 17:49 ` Jay Vosburgh
2006-07-24 17:58   ` Ben Greear
2006-07-24 21:25     ` Jay Vosburgh
2006-07-24 21:35       ` Ben Greear
2006-07-25  1:40         ` Jay Vosburgh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).