Re: do a single memdup_user in sctp_setsockopt v2

2020-07-20 Thread Marcelo Ricardo Leitner
On Sun, Jul 19, 2020 at 06:27:27PM -0700, David Miller wrote: > From: Christoph Hellwig > Date: Sun, 19 Jul 2020 09:21:37 +0200 > > > 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. > > > > Change

Re: do a single memdup_user in sctp_setsockopt v2

2020-07-19 Thread David Miller
From: Christoph Hellwig Date: Sun, 19 Jul 2020 09:21:37 +0200 > 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_s