Skip to content

sctp: process the error returned from sctp_sock_migrate()

Xin Long linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() failsnet/sctp/socket.c+24 -106 replies
2/3sctp: move up sctp_auth_init_hmacs() in sctp_endpoint_init()net/sctp/auth.c net/sctp/endpointola.c+10 -141 reply
3/3sctp: call sctp_auth_init_hmacs() in sctp_sock_migrate()net/sctp/socket.c+10 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNeil HormanMarcelo Ricardo Leitner
SeriesA-b A-b
1/3
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/3] sctp: process the error returned from sctp_sock_migrate()

This patchset is to process the errs returned by sctp_auth_init_hmacs() and sctp_bind_addr_dup() from sctp_sock_migrate(). And also fix a panic caused by new ep->auth_hmacs was not set due to net->sctp.auth_enable changed by sysctl before accepting an assoc.

Xin Long (3):
sctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() fails
sctp: move up sctp_auth_init_hmacs() in sctp_endpoint_init()
sctp: call sctp_auth_init_hmacs() in sctp_sock_migrate()

 net/sctp/auth.c        |  6 ------
 net/sctp/endpointola.c | 18 ++++++++++--------
 net/sctp/socket.c      | 44 ++++++++++++++++++++++++++++++++++----------
 3 files changed, 44 insertions(+), 24 deletions(-)
Signature · 1 line
2.1.0