[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 3 Mar 2019 17:54:52 +0800
From: Xin Long <lucien.xin@...il.com>
To: network dev <netdev@...r.kernel.org>, linux-sctp@...r.kernel.org
Cc: davem@...emloft.net,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Neil Horman <nhorman@...driver.com>
Subject: [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(-)
--
2.1.0
Powered by blists - more mailing lists