Searched hist:"659 e0bca" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/net/sctp/ |
H A D | sctp.h | 659e0bca Sat Mar 19 10:17:43 CDT 2016 Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> sctp: keep fragmentation point aligned to word size
If the user supply a different fragmentation point or if there is a network header that cause it to not be aligned, force it to be aligned.
Fragmentation point at a value that is not aligned is not optimal. It causes extra padding to be used and has just no pros.
v2: - Make use of the new WORD_TRUNC macro
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> 659e0bca Sat Mar 19 10:17:43 CDT 2016 Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> sctp: keep fragmentation point aligned to word size If the user supply a different fragmentation point or if there is a network header that cause it to not be aligned, force it to be aligned. Fragmentation point at a value that is not aligned is not optimal. It causes extra padding to be used and has just no pros. v2: - Make use of the new WORD_TRUNC macro Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|