sctp: switch sctp_setsockopt_auth_key to use memzero_explicit
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:03 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:42 +0000 (18:26 -0700)
commit89fae01eef8b1572c71d2cfcc3307c1f1e97b778
tree5b0425d182504c86d00a752964ac3f1df2ade12b
parent3564ef442a174e42b58a215a55e4f0ef56b5fbb0
sctp: switch sctp_setsockopt_auth_key to use memzero_explicit

Switch from kzfree to sctp_setsockopt_auth_key + kfree to prepare for
moving the kfree to common code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c