[Bridge] [PATCH] bonding: allow bond in mode balance-alb to work properly in bridge -try4

David Miller davem at davemloft.net
Fri Mar 27 00:38:19 PDT 2009


From: Jiri Pirko <jpirko at redhat.com>
Date: Thu, 26 Mar 2009 16:52:06 +0100

> (resend, updated changelog, hook moved into skb_bond_should_drop,
> skb_bond_should_drop ifdefed)
> 
> Hi all.
> 
> The problem is described in following bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=487763
 ...
> This patch solves the situation in the bonding without touching bridge code,
> as Patrick suggested. For every incoming frame to bonding it searches the
> destination address in slaves list and if any of slave addresses matches, it
> rewrites the address in frame by the adress of bonding master. This ensures that
> all frames comming thru the bonding in alb mode have the same address.
> 
> Signed-off-by: Jiri Pirko <jpirko at redhat.com>


I don't like the hook, but if that's how it's best done....

Patrick, please review this.


More information about the Bridge mailing list