]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a5c0f6330552cf4d97583606c2afc6daeb4ac04
tree2945708f1ade9682bea346649ebe30ca77b9c165
parent50baf3410606fbeeff38f08c874414e1065b993d
parent19584840db01a9f4cc38cce407ff2342dfcf6229
Merge branch 'sctp-unify-sctp_make_op_error_fixed-and-sctp_make_op_error_space'

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>