]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'sctp-unify-sctp_make_op_error_fixed-and-sctp_make_op_error_space'
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 16:09:36 +0000 (12:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 16:09:36 +0000 (12:09 -0400)
Marcelo Ricardo Leitner says:

====================
sctp: unify sctp_make_op_error_fixed and sctp_make_op_error_space

These two variants are very close to each other and can be merged
to avoid code duplication. That's what this patchset does.

First, we allow sctp_init_cause to return errors, which then allow us to
add sctp_make_op_error_limited that handles both situations.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge