]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f0e916b4f954b4b264d59c09de2e25c3706af0b
treea8afe067c01f0c40d97ba5f1340881be6a42e72f
parent9d923721f9cb1b21d40ae6ed56fa8fd6cc895b6a
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