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

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