From: dingtianhong Date: Mon, 12 May 2014 07:08:43 +0000 (+0800) Subject: bonding: alloc the structure ad_info dynamically in per slave X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fdddd859af235119bdfb09ccc886fe48b97fc72;p=pandora-kernel.git bonding: alloc the structure ad_info dynamically in per slave The struct ad_slave_info is very huge, and only be used for 802.3ad mode, so alloc the structure dynamically could save 356 Bits for every slave in non 802.3ad mode. Cc: Jay Vosburgh Cc: Veaceslav Falico Cc: Andy Gospodarek Signed-off-by: Ding Tianhong Acked-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed