sctp: pass a kernel pointer to sctp_setsockopt_pf_expose
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:27 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:44 +0000 (18:26 -0700)
commit26feba8090773550f255aed911d8f824ca42b7eb
tree132eb688d680aecef7aea2b0719ab8329029c547
parent92c4f172552a37f1dbc385615b4497bd15df1d8f
sctp: pass a kernel pointer to sctp_setsockopt_pf_expose

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