From: Jakub Kicinski <jakub.kicinski@netronome.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, oss-drivers@netronome.com,
alexei.starovoitov@gmail.com,
Jakub Kicinski <jakub.kicinski@netronome.com>
Subject: [PATCH net v2 0/2] net/tls: redo the RX resync locking
Date: Tue, 4 Jun 2019 12:00:10 -0700 [thread overview]
Message-ID: <20190604190012.6327-1-jakub.kicinski@netronome.com> (raw)
Hi!
Take two of making sure we don't use a NULL netdev pointer
for RX resync. This time using a bit and an open coded
wait loop.
v2:
- fix build warning (DaveM).
Jakub Kicinski (2):
Revert "net/tls: avoid NULL-deref on resync during device removal"
net/tls: replace the sleeping lock around RX resync with a bit lock
include/net/tls.h | 4 ++++
net/tls/tls_device.c | 26 ++++++++++++++++++--------
2 files changed, 22 insertions(+), 8 deletions(-)
--
2.21.0
next reply other threads:[~2019-06-04 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 19:00 Jakub Kicinski [this message]
2019-06-04 19:00 ` [PATCH net v2 1/2] Revert "net/tls: avoid NULL-deref on resync during device removal" Jakub Kicinski
2019-06-04 19:00 ` [PATCH net v2 2/2] net/tls: replace the sleeping lock around RX resync with a bit lock Jakub Kicinski
2019-06-04 20:55 ` [PATCH net v2 0/2] net/tls: redo the RX resync locking David Miller
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=20190604190012.6327-1-jakub.kicinski@netronome.com \
--to=jakub.kicinski@netronome.com \
--cc=alexei.starovoitov@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=oss-drivers@netronome.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).