All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Martyniuk <alexevgmart@gmail.com>
To: imv4bel@gmail.com
Cc: davem@davemloft.net, edumazet@google.com, horms@kernel.org,
	john.fastabend@gmail.com, kuba@kernel.org,
	netdev@vger.kernel.org, pabeni@redhat.com, sd@queasysnail.net,
	Alexander Martyniuk <alexevgmart@gmail.com>
Subject: Re: [PATCH net v2] tls: Fix race condition in tls_sw_cancel_work_tx()
Date: Mon, 13 Jul 2026 19:07:11 +0300	[thread overview]
Message-ID: <20260713160711.50482-1-alexevgmart@gmail.com> (raw)
In-Reply-To: <aZgsFO6nfylfvLE7@v4bel>

> To prevent this race condition, cancel_delayed_work_sync() is 
> replaced with disable_delayed_work_sync().

In lower stable kernel versions no such function as
disable_delayed_work_sync(). So could it be fixed by 
testing BIT_TX_CLOSING in tls_sw_write_space() before 
calling schedule_delayed_work() ?


      parent reply	other threads:[~2026-07-13 16:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-20  9:40 [PATCH net v2] tls: Fix race condition in tls_sw_cancel_work_tx() Hyunwoo Kim
2026-02-22 17:44 ` Simon Horman
2026-02-23 16:18 ` Sabrina Dubroca
2026-02-24  1:30 ` patchwork-bot+netdevbpf
2026-07-13 16:07 ` Alexander Martyniuk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260713160711.50482-1-alexevgmart@gmail.com \
    --to=alexevgmart@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=imv4bel@gmail.com \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sd@queasysnail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.