sctp: pass a kernel pointer to sctp_setsockopt_auth_chunk
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:01 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:42 +0000 (18:26 -0700)
commit88266d31b819202ea6aa7d87a3e9aa4b6d6a046f
treea8afe067c01f0c40d97ba5f1340881be6a42e72f
parentf5bee0adb17eaa2f106c895d198b1e8fca96f1de
sctp: pass a kernel pointer to sctp_setsockopt_auth_chunk

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