sctp: pass a kernel pointer to sctp_setsockopt_interleaving_supported
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:21 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:44 +0000 (18:26 -0700)
commit5b8d3b24467a41388097411ac0b2fc1f4b10bbf5
treeeb946925c55d26badd73e908553a5f974d7deebd
parentd636e7f31fcc986525cb853f0fabccc2408f0840
sctp: pass a kernel pointer to sctp_setsockopt_interleaving_supported

Use the kernel pointer that sctp_setsockopt has available instead of
directly handling the user pointer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c