]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: reduce memory footprint of sctp_chunk structure
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 25 Jul 2008 16:44:09 +0000 (12:44 -0400)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 1 Oct 2008 15:33:06 +0000 (11:33 -0400)
commitf691fb95a79b4293dc1a32f910cee48c2f8a2f53
tree04c81b4186fd79a1f1b129a8627da6a41ceb4c25
parent145ad5657cf6f0e4b9df99a22cdb09ee9cd9efcf
sctp: reduce memory footprint of sctp_chunk structure

sctp_chunks should be put on a diet.  This is some of the low hanging
fruit that we can strip out.  Changes all the __s8/__u8 flags to
bitfields.  Saves 12 bytes per chunk.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/structs.h
net/sctp/output.c
net/sctp/outqueue.c
net/sctp/sm_make_chunk.c