Skip to content

Commit

Permalink
Merge branch 'sctp-clean-up-sctp_connect-function'
Browse files Browse the repository at this point in the history
Xin Long says:

====================
sctp: clean up __sctp_connect function

This patchset is to factor out some common code for
sctp_sendmsg_new_asoc() and __sctp_connect() into 2
new functioins.

v1->v2:
  - add the patch 1/5 to avoid a slab-out-of-bounds warning.
  - add some code comment for the check change in patch 2/5.
  - remove unused 'addrcnt' as Marcelo noticed in patch 3/5.
====================

Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 30, 2019
2 parents 1db88c5 + a64e59c commit 6ca04af
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 231 deletions.
Loading

0 comments on commit 6ca04af

Please sign in to comment.