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

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