]> Pileus Git - ~andy/linux/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)
commitbe78cfcb25fd163ad7c415cdc0ff343fbc8d22ec
tree61496de60e3fe70a89c70d5392e129256f9bf316
parente4379310108a9bd9f181427b37113273d97b8ad3
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