mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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: Rajan Aggarwal <Rajan Aggarwal [email protected]> Acked-by: Oliver Hartkopp <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
6b59e3191d
commit
d9e64f83eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue