From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Subject: [PATCH net 0/3] wireguard fixes for 6.4.2/6.5-rc1
Date: Mon, 3 Jul 2023 03:27:03 +0200 [thread overview]
Message-ID: <20230703012723.800199-1-Jason@zx2c4.com> (raw)
Hi Jakub,
Sorry to send these patches during the merge window, but they're net
fixes, not netdev enhancements, and while I'd ordinarily wait anyway,
I just got a first bug report for one of these fixes, which I originally
had thought was mostly unlikely. So please apply the following three
patches to net:
1) Make proper use of nr_cpu_ids with cpumask_next(), rather than
awkwardly using modulo, to handle dynamic CPU topology changes.
Linus noticed this a while ago and pointed it out, and today a user
actually got hit by it.
2) Respect persistent keepalive and other staged packets when setting
the private key after the interface is already up.
3) Use timer_delete_sync() instead of del_timer_sync(), per the
documentation.
Thanks,
Jason
Jason A. Donenfeld (3):
wireguard: queueing: use saner cpu selection wrapping
wireguard: netlink: send staged packets when setting initial private
key
wireguard: timers: move to using timer_delete_sync
drivers/net/wireguard/netlink.c | 14 ++++++----
drivers/net/wireguard/queueing.c | 1 +
drivers/net/wireguard/queueing.h | 25 ++++++++----------
drivers/net/wireguard/receive.c | 2 +-
drivers/net/wireguard/send.c | 2 +-
drivers/net/wireguard/timers.c | 10 ++++----
tools/testing/selftests/wireguard/netns.sh | 30 +++++++++++++++++++---
7 files changed, 54 insertions(+), 30 deletions(-)
--
2.41.0
next reply other threads:[~2023-07-03 1:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-03 1:27 Jason A. Donenfeld [this message]
2023-07-03 1:27 ` [PATCH net 1/3] wireguard: queueing: use saner cpu selection wrapping Jason A. Donenfeld
2023-07-03 4:11 ` Linus Torvalds
2023-07-03 1:27 ` [PATCH net 2/3] wireguard: netlink: send staged packets when setting initial private key Jason A. Donenfeld
2023-07-03 1:27 ` [PATCH net 3/3] wireguard: timers: move to using timer_delete_sync Jason A. Donenfeld
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=20230703012723.800199-1-Jason@zx2c4.com \
--to=jason@zx2c4.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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
all inboxes | Powered by JetHome®