All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] sctp: process the error returned from sctp_sock_migrate()
@ 2019-03-03  9:54 ` Xin Long
  0 siblings, 0 replies; 34+ messages in thread
From: Xin Long @ 2019-03-03  9:54 UTC (permalink / raw)
  To: network dev, linux-sctp; +Cc: davem, Marcelo Ricardo Leitner, Neil Horman

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


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2019-03-08 19:43 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-03  9:54 [PATCH net 0/3] sctp: process the error returned from sctp_sock_migrate() Xin Long
2019-03-03  9:54 ` Xin Long
2019-03-03  9:54 ` [PATCH net 1/3] sctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() fails Xin Long
2019-03-03  9:54   ` Xin Long
2019-03-03  9:54   ` [PATCH net 2/3] sctp: move up sctp_auth_init_hmacs() in sctp_endpoint_init() Xin Long
2019-03-03  9:54     ` Xin Long
2019-03-03  9:54     ` [PATCH net 3/3] sctp: call sctp_auth_init_hmacs() in sctp_sock_migrate() Xin Long
2019-03-03  9:54       ` Xin Long
2019-03-06 18:26       ` Neil Horman
2019-03-06 18:26         ` Neil Horman
2019-03-06 18:24     ` [PATCH net 2/3] sctp: move up sctp_auth_init_hmacs() in sctp_endpoint_init() Neil Horman
2019-03-06 18:24       ` Neil Horman
2019-03-06 18:21   ` [PATCH net 1/3] sctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() fails Neil Horman
2019-03-06 18:21     ` Neil Horman
2019-03-07 10:06     ` Xin Long
2019-03-07 10:06       ` Xin Long
2019-03-07 11:59       ` Neil Horman
2019-03-07 11:59         ` Neil Horman
2019-03-07 18:25   ` Marcelo Ricardo Leitner
2019-03-07 18:25     ` Marcelo Ricardo Leitner
2019-03-08  3:48     ` Xin Long
2019-03-08  3:48       ` Xin Long
2019-03-08 16:59       ` Marcelo Ricardo Leitner
2019-03-08 16:59         ` Marcelo Ricardo Leitner
2019-03-04 19:04 ` [PATCH net 0/3] sctp: process the error returned from sctp_sock_migrate() David Miller
2019-03-04 19:04   ` David Miller
2019-03-07 14:59   ` Marcelo Ricardo Leitner
2019-03-07 14:59     ` Marcelo Ricardo Leitner
2019-03-07 12:11 ` Neil Horman
2019-03-07 12:11   ` Neil Horman
2019-03-08 17:00 ` Marcelo Ricardo Leitner
2019-03-08 17:00   ` Marcelo Ricardo Leitner
2019-03-08 19:43   ` David Miller
2019-03-08 19:43     ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.