Re: [PATCH v3] bonding: Inactive slaves should keep inactive flag's value

2014-04-02 Thread zheng.li
Hi Jay, How do you think about the new patch used USES_PRIMARY, can it be merged to upstream? Thanks, Zheng Li 于 2014年04月02日 11:01, Zheng Li 写道: > bond_open is not setting the inactive flag correctly for some modes (alb and > tlb), resulting in error behavior if the bond has been administrativel

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1

2014-03-30 Thread zheng.li
Hi Jay, What's you think about the new patch. Thanks, Zheng Li 于 2014年03月28日 17:22, Zheng Li 写道: > In bond mode tlb and alb, inactive slaves should keep inactive flag to 1 to > refuse to receive broadcast packets. Now, active slave send broadcast packets > (for example ARP requests) which will ar

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-28 Thread zheng.li
于 2014年03月28日 01:23, Jay Vosburgh 写道: > Zheng Li wrote: > >> In bond mode tlb and alb, inactive slaves should keep inactive flag to >> 1 to refuse to receive broadcast packets. Now, active slave send broadcast >> packets >> (for example ARP requests) which will arrive inactive slaves on same hos

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-26 Thread zheng.li
Hi Jay, What's your opinion about the new patch. Thanks, Zheng Li 于 2014年03月26日 08:53, Ding Tianhong 写道: > On 2014/3/25 16:36, zheng.li wrote: >> 于 2014年03月25日 11:42, Ding Tianhong 写道: >>> On 2014/3/25 11:00, Zheng Li wrote: >>>> In bond mode tlb and alb, i

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1 in tlb and alb mode.

2014-03-25 Thread zheng.li
于 2014年03月25日 11:42, Ding Tianhong 写道: > On 2014/3/25 11:00, Zheng Li wrote: >> In bond mode tlb and alb, inactive slaves should keep inactive flag to >> 1 to refuse to receive broadcast packets. Now, active slave send broadcast >> packets >> (for example ARP requests) which will arrive inactive s

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1.

2014-03-24 Thread zheng.li
_slave_active_flags(slave, BOND_SLAVE_NOTIFY_NOW); } -- 1.7.6.5 Thanks, Zheng Li 于 2014年03月22日 01:43, Jay Vosburgh 写道: > zheng.li wrote: > >> 于 2014年03月21日 01:02, Jay Vosburgh 写道: >>> Zheng Li wrote: >>> >>>> Except bond mode 1, in other bond modes, inac

Re: [PATCH] bonding: Inactive slaves should keep inactive flag's value to 1.

2014-03-20 Thread zheng.li
于 2014年03月21日 01:02, Jay Vosburgh 写道: > Zheng Li wrote: > >> Except bond mode 1, in other bond modes, inactive slaves should keep >> inactive flag to 1 to refuse to receive broadcast packets. Now, active >> slave send broadcast packets (for example ARP requests) which will >> arrive inactive slav

Re: [PATCH] bonding: rlb mode of bond should not alter ARP originating via bridge

2012-11-20 Thread zheng.li
After i applied my prior patch to the latest kernel and tested ,i change the patch as this. The prior patch is running ok on 2.6.32,but after 2.6.32 it runs no effect ,it still cause domu(which arp through bridge via bonding) network intermittently unreachable. I found the reason is that the alb_mo

[PATCH] bonding: fix bond-6-mode change MAC of arp reply from vif to cause Domu's network unreachable intermittently

2012-10-29 Thread zheng.li
This is a fix for a bug in bond_alb.c Rate of reproduced:100% Scenario: set Dom0 to bond 6 mode, Domu communicate with Dom0 through vif which is in bridge mode. The Dom0's bridge of xenbr0 contains vif and bond0, bond0 contains eth0 and eth1. You can just need to ping a host which is in same LAN on