kernel/include/linux/timerqueue.h
.. .. @@ -35,7 +35,7 @@ 35 35 { 36 36 struct rb_node *leftmost = rb_first_cached(&head->rb_root); 37 37 38 - return rb_entry(leftmost, struct timerqueue_node, node);38 + return rb_entry_safe(leftmost, struct timerqueue_node, node);39 39 } 40 40 41 41 static inline void timerqueue_init(struct timerqueue_node *node)