[lvc-project] [PATCH v2 5.10 1/1] tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().
Fedor Pchelkin
pchelkin at ispras.ru
Tue Jan 28 18:54:10 MSK 2025
On Thu, 16. Jan 12:17, Dmitriy Privalov wrote:
> -bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req)
> +static bool __inet_csk_reqsk_queue_drop(struct sock *sk,
> + struct request_sock *req,
> + bool from_timer)
> {
> bool unlinked = reqsk_queue_unlink(req);
>
> + if (!from_timer && del_timer_sync(&req->rsk_timer))
Почему было принято решение изменить на del_timer_sync()? В 5.10.y есть
timer_delete_sync().
More information about the lvc-project
mailing list