]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Reorder 'struc association' members to reduce its size
authorwangweidong <wangweidong1@huawei.com>
Fri, 13 Dec 2013 05:51:04 +0000 (13:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 19:32:43 +0000 (14:32 -0500)
commit4316af0296014188d1a6987098b2245ab12cb4b5
tree61496de60e3fe70a89c70d5392e129256f9bf316
parent762a9b18db6f0eba0139027892c338f718c3d26b
sctp: Reorder 'struc association' members to reduce its size

Members of 'struct association' are not in appropriate order to
reuse compiler added padding on 64bit architectures. In this patch
we reorder those struct members and help reduce the size of the
structure from 2776 bytes to 2720 bytes on 64 bit architectures.

Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h