summaryrefslogtreecommitdiff
path: root/net/bridge/br_ioctl.c
diff options
context:
space:
mode:
authorVitalii Demianets <vitas@nppfactor.kiev.ua>2011-05-12 23:04:29 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-05-13 19:13:24 (GMT)
commita10e14667635dde504ed9e7ee851494c2cf2ae8e (patch)
treebf5ad736713e1fcb80fadb05825184b44d50c87e /net/bridge/br_ioctl.c
parentca06707022d6ba4744198a8ebbe4994786b0c613 (diff)
downloadlinux-fsl-qoriq-a10e14667635dde504ed9e7ee851494c2cf2ae8e.tar.xz
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 <vitas@nppfactor.kiev.ua> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_ioctl.c')
0 files changed, 0 insertions, 0 deletions