From: Peter Pan(潘卫平) Date: Wed, 8 Jun 2011 21:19:02 +0000 (+0000) Subject: bonding:delete lacp_fast from ad_bond_info X-Git-Tag: v3.1-rc1~316^2~450^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56d00c677de0a6285587af4f6c6f10aef3209f9f;p=pandora-kernel.git bonding:delete lacp_fast from ad_bond_info These is also a bug, that if you modify lacp_rate via sysfs, and add new slaves in bonding, new slaves won't use the latest lacp_rate, since ad_bond_info->lacp_fast is initialized only once, in bond_3ad_initialize(). Since both struct bond_params and ad_bond_info have lacp_fast, they are duplicate and need extra synchronization. bond_3ad_bind_slave() can use bond_params->lacp_fast to initialize port. So we can just remove lacp_fast from struct ad_bond_info. Signed-off-by: Weiping Pan Signed-off-by: Jay Vosburgh Signed-off-by: David S. Miller --- Reading git-diff-tree failed