aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVihas Makwana <[email protected]>2022-03-10 02:20:46 +0530
committerGreg Kroah-Hartman <[email protected]>2022-03-15 15:18:20 +0100
commit57a42b4d73f9d6f6fbe8b11f22453e1bc3183648 (patch)
tree800fd618a35c58dd76ed657ae9e36719f997fcc6 /net/switchdev/switchdev.c
parentcff7326792f78815c20f33e509959682157a609a (diff)
staging: r8188eu: call _cancel_timer_ex from _rtw_free_recv_priv
The _rtw_init_recv_priv() initializes precvpriv->signal_stat_timer and sets it's timeout interval to 1000 ms. But _rtw_free_recv_priv() doesn't cancel the timer and we need to explicitly call _cancel_timer_ex() after we call _rtw_free_recv_priv() to cancel the timer. Call _cancel_timer_ex() from inside _rtw_free_recv_priv() as every init function needs a matching free function. Signed-off-by: Vihas Makwana <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions