From 09387ef63c78898f483bcb48efcda0defa968ee4 Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Fri, 18 Jan 2019 15:34:48 -0800 Subject: [PATCH] qcacmn: Add peer debug ID for unmap_timer_work peer reference There is race when unamp_timer_work and peer is deleted. Hold the reference to peer while handling the peer_unmap_timer_work. Add new peer debug_ID for unmap_timer_work. Change-Id: Ibfd5de602883d3219d1e634ef74ff04e7914efb4 CRs-Fixed: 2383778 --- dp/inc/cdp_txrx_mob_def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dp/inc/cdp_txrx_mob_def.h b/dp/inc/cdp_txrx_mob_def.h index 193f7c9690e4..66217fb13f14 100644 --- a/dp/inc/cdp_txrx_mob_def.h +++ b/dp/inc/cdp_txrx_mob_def.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -225,6 +225,7 @@ enum peer_debug_id_type { PEER_DEBUG_ID_OL_PEER_ATTACH, PEER_DEBUG_ID_OL_TXQ_VDEV_FL, PEER_DEBUG_ID_OL_HASH_ERS, + PEER_DEBUG_ID_OL_UNMAP_TIMER_WORK, PEER_DEBUG_ID_MAX };