]> 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)
commit273c92c4fee3e4803fd1b9fa9edc764bb523fb39
treec01135ccc87e15f2394ae19b0ee73c1b2dea4d2c
parentf2c25300d4b277884fe610e61aeb3562318e61a8
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