]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: pass a kernel pointer to sctp_setsockopt_peer_addr_params
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:21:44 +0000 (09:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:41 +0000 (18:26 -0700)
commitcb11396f046963286bc9d844644527b7e22f5031
tree4fd6b462b8443ca74335147d030566c2f4c5f220
parent76bd9eabc92c40f989a2a7f9aadb0ec9ad8fd8f5
sctp: pass a kernel pointer to sctp_setsockopt_peer_addr_params

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