Skip to content

Commit e19dff1

Browse files
dhowellsdavem330
authored andcommitted
[AF_RXRPC]: Make it possible to merely try to cancel timers from a module
Export try_to_del_timer_sync() for use by the AF_RXRPC module. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 7318226 commit e19dff1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/timer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ int try_to_del_timer_sync(struct timer_list *timer)
505505
return ret;
506506
}
507507

508+
EXPORT_SYMBOL(try_to_del_timer_sync);
509+
508510
/**
509511
* del_timer_sync - deactivate a timer and wait for the handler to finish.
510512
* @timer: the timer to be deactivated

0 commit comments

Comments
 (0)