diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2023-01-26 14:45:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-06 07:59:02 +0100 |
commit | c7caf669b89d05bc86238cc6bc4add41311b16e8 (patch) | |
tree | 19aab73dc7273e1937ef016c1ff368b88b608970 /crypto/ecrdsa_params.asn1 | |
parent | 046de74f9af92ae9ffce75fa22a1795223f4fb54 (diff) | |
download | linux-stable-c7caf669b89d05bc86238cc6bc4add41311b16e8.tar.gz linux-stable-c7caf669b89d05bc86238cc6bc4add41311b16e8.tar.bz2 linux-stable-c7caf669b89d05bc86238cc6bc4add41311b16e8.zip |
net: mctp: purge receive queues on sk destruction
commit 60bd1d9008a50cc78c4033a16a6f5d78210d481c upstream.
We may have pending skbs in the receive queue when the sk is being
destroyed; add a destructor to purge the queue.
MCTP doesn't use the error queue, so only the receive_queue is purged.
Fixes: 833ef3b91de6 ("mctp: Populate socket implementation")
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20230126064551.464468-1-jk@codeconstruct.com.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/ecrdsa_params.asn1')
0 files changed, 0 insertions, 0 deletions