Re: do a single memdup_user in sctp_setsockopt
From: David Miller <davem@davemloft.net>
Date: 2020-05-22 23:11:35
Also in:
linux-sctp
From: David Miller <davem@davemloft.net>
Date: 2020-05-22 23:11:35
Also in:
linux-sctp
From: Christoph Hellwig <hch@lst.de> Date: Thu, 21 May 2020 19:46:35 +0200
based on the review of Davids patch to do something similar I dusted off the series I had started a few days ago to move the memdup_user or copy_from_user from the inidividual sockopts into sctp_setsockopt, which is done with one patch per option, so it might suit Marcelo's taste a bit better. I did not start any work on getsockopt.
I think you and David still need to discuss how to move forward here, there doesn't seem to be consensus yet. Thanks.