Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9e64f83 authored by rajan.aggarwal85@gmail.com's avatar rajan.aggarwal85@gmail.com Committed by David S. Miller
Browse files

net/can/af_can.c: Change del_timer to del_timer_sync



This is important for SMP platform to check if timer function is
executing on other CPU with deleting the timer.

Signed-off-by: default avatarRajan Aggarwal &lt;Rajan Aggarwal <rajan.aggarwal85@gmail.com>
Acked-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6b59e319
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -857,7 +857,7 @@ static __exit void can_exit(void)
	struct net_device *dev;

	if (stats_timer)
		del_timer(&can_stattimer);
		del_timer_sync(&can_stattimer);

	can_remove_proc();