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>
This commit is contained in:
committed by
Vlad Yasevich
parent
845b8eda4d
commit
c226ef9b83
@@ -1211,7 +1211,7 @@ struct sctp_chunk *sctp_chunkify(struct sk_buff *skb,
|
||||
*/
|
||||
retval->tsn_missing_report = 0;
|
||||
retval->tsn_gap_acked = 0;
|
||||
retval->fast_retransmit = 0;
|
||||
retval->fast_retransmit = SCTP_CAN_FRTX;
|
||||
|
||||
/* If this is a fragmented message, track all fragments
|
||||
* of the message (for SEND_FAILED).
|
||||
|
Reference in New Issue
Block a user