]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: pass a kernel pointer to sctp_setsockopt_paddr_thresholds
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:09 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:43 +0000 (18:26 -0700)
commitdd0f7a4efd80426acdb9f0e296211d2ca3e66d06
treec01135ccc87e15f2394ae19b0ee73c1b2dea4d2c
parentae2cf1447f12720e838e5cbdfc335a78df86faa7
sctp: pass a kernel pointer to sctp_setsockopt_paddr_thresholds

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