diff options
author | Jeremy Kerr <[email protected]> | 2023-01-26 14:45:51 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-28 00:26:09 -0800 |
commit | 60bd1d9008a50cc78c4033a16a6f5d78210d481c (patch) | |
tree | 288300a5ff8f036e7c06077f5aab42087fb86c3b /tools/perf/scripts/python | |
parent | 422ae7d9c7221e8d4c8526d0f54106307d69d2dc (diff) |
net: mctp: purge receive queues on sk destruction
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 <[email protected]>
Reviewed-by: Pavan Chebbi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions