Skip to content

Commit

Permalink
Merge branch 'do-a-single-memdup_user-in-sctp_setsockopt-v2'
Browse files Browse the repository at this point in the history
Christoph Hellwig says:

====================
do a single memdup_user in sctp_setsockopt v2

here is a resend of my series to lift the copy_from_user out of the
individual sctp sockopt handlers into the main sctp_setsockopt
routine.

Changes since v1:
 - fixes a few sizeof calls.
 - use memzero_explicit in sctp_setsockopt_auth_key instead of special
   casing it for a kzfree in the caller
 - remove some minor cleanups from sctp_setsockopt_autoclose to keep
   it closer to the existing version
 - add another little only vaguely related cleanup patch
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 20, 2020
2 parents 9aa0dfe + 6c8983a commit bed1ce7
Showing 1 changed file with 477 additions and 722 deletions.
Loading

0 comments on commit bed1ce7

Please sign in to comment.