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

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