diff options
author | David S. Miller <davem@davemloft.net> | 2020-07-20 03:26:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-20 03:26:44 +0200 |
commit | bed1ce78761925785cfccbd73aea2d889f625b68 (patch) | |
tree | 5777c2bb4290c44013dabc658d1e43e890a80f5a /net/ipv4/ip_sockglue.c | |
parent | Merge branch 'sockopt-cleanups' (diff) | |
parent | sctp: remove the out_nounlock label in sctp_setsockopt (diff) | |
download | linux-bed1ce78761925785cfccbd73aea2d889f625b68.tar.xz linux-bed1ce78761925785cfccbd73aea2d889f625b68.zip |
Merge branch 'do-a-single-memdup_user-in-sctp_setsockopt-v2'
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>
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
0 files changed, 0 insertions, 0 deletions