OSDN Git Service

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)
commitb0ac3bb89464f6c54d860052aa52774c1ab95436
treec01135ccc87e15f2394ae19b0ee73c1b2dea4d2c
parentc9abc2c1c2973a30750fa00bfc912b683d88d1bc
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