]> 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)
commit58fd6986d52e541b36abba371388d0afcf28cb76
tree61496de60e3fe70a89c70d5392e129256f9bf316
parent53b15cd0c1428b56f0a5bfa488b76153649d873b
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