From: Vitalii Demianets Date: Thu, 12 May 2011 23:04:29 +0000 (+0000) Subject: bonding,llc: Fix structure sizeof incompatibility for some PDUs X-Git-Tag: v2.6.39~28^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a10e14667635dde504ed9e7ee851494c2cf2ae8e;p=pandora-kernel.git bonding,llc: Fix structure sizeof incompatibility for some PDUs With some combinations of arch/compiler (e.g. arm-linux-gcc) the sizeof operator on structure returns value greater than expected. In cases when the structure is used for mapping PDU fields it may lead to unexpected results (such as holes and alignment problems in skb data). __packed prevents this undesired behavior. Signed-off-by: Vitalii Demianets Signed-off-by: David S. Miller --- Reading git-diff-tree failed