Skip to content

sctp: fix a memory leak

Xin Long linux-sctp stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sctp: fix the issue that flags are ignored when using kernel_connectinclude/net/sctp/sctp.h net/sctp/ipv6.c net/sctp/protocol.c +1 more+42 -200 replies
2/2sctp: not bind the socket in sctp_connectnet/sctp/socket.c+2 -190 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchNeil HormanMarcelo Ricardo LeitnerMichal Kubecek
1/2A-b A-b R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH linux-4.14.y 0/2] sctp: fix a memory leak

These 2 patches are missed in linux-4.14.y, it will cause crash when commit 63dfb7938b13 ("sctp: change sctp_prot .no_autobind with true") is backported only.

Conflicts:
- Context difference in Patch 1/2 due to the lack of

    Commit c981f254cc82.

Xin Long (2):
sctp: fix the issue that flags are ignored when using kernel_connect
sctp: not bind the socket in sctp_connect

 include/net/sctp/sctp.h |  2 ++
 net/sctp/ipv6.c         |  2 +-
 net/sctp/protocol.c     |  2 +-
 net/sctp/socket.c       | 55 ++++++++++++++++++++++++++-----------------------
 4 files changed, 33 insertions(+), 28 deletions(-)
Signature · 1 line
2.1.0