diff options
| author | David S. Miller <davem@davemloft.net> | 2018-04-27 14:35:24 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-04-27 14:41:52 -0400 |
| commit | 4422cc0d5b58fb1c1a7a1cbf630c2781459c76f8 (patch) | |
| tree | 56ef91a153676cf598653f135975fabb58694018 /lib/test-string_helpers.c | |
| parent | 5a643c861d0f20b1b1bf8c694a24759d9219f1e1 (diff) | |
| parent | 38687b56c51b535024d46d6b5375163a6a40a196 (diff) | |
Merge branch 'sctp-refactor-MTU-handling'
Marcelo Ricardo Leitner says:
====================
sctp: refactor MTU handling
Currently MTU handling is spread over SCTP stack. There are multiple
places doing same/similar calculations and updating them is error prone
as one spot can easily be left out.
This patchset converges it into a more concise and consistent code. In
general, it moves MTU handling from functions with bigger objectives,
such as sctp_assoc_add_peer(), to specific functions.
It's also a preparation for the next patchset, which removes the
duplication between sctp_make_op_error_space and
sctp_make_op_error_fixed and relies on sctp_mtu_payload introduced here.
More details on each patch.
====================
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
