]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: pass a kernel pointer to sctp_setsockopt_auth_supported
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:25 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:44 +0000 (18:26 -0700)
commit0977cea42967e7d85c2fbcf051bd21f6ed34b2b1
treec1303055e6a2e6bbbe892a75d92db80a8acddf97
parent1b0e54a33444d0d587d57becb8504bf4695fbb07
sctp: pass a kernel pointer to sctp_setsockopt_auth_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