]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
sctp: pass a kernel pointer to sctp_setsockopt_scheduler
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:19 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:43 +0000 (18:26 -0700)
commit4d2fba3a7e7bda272447bf77377bf330f8a83ec7
tree420e57d13ea4b9d7af5e8369269c6a1d10400b82
parent4d6fb2606252a4a001388f52808edbf3c624d033
sctp: pass a kernel pointer to sctp_setsockopt_scheduler

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