OSDN Git Service

sctp: pass a kernel pointer to sctp_setsockopt_recvnxtinfo
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:11 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:43 +0000 (18:26 -0700)
commitcfa6fde26642553fcb0cdbfefe80f075eb6173f2
tree3b49d828a453fab1a08a9644014be7d6810b4a3a
parenta98af7c84ad95d45058050ad3b9bb0cd31d93614
sctp: pass a kernel pointer to sctp_setsockopt_recvnxtinfo

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