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

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