netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: netdev@vger.kernel.org, davem@davemloft.net
Subject: [PATCH net 0/7] wireguard fixes for 5.12-rc1
Date: Mon, 22 Feb 2021 17:25:42 +0100	[thread overview]
Message-ID: <20210222162549.3252778-1-Jason@zx2c4.com> (raw)

Hi Dave,

This series has a collection of fixes that have piled up for a little
while now, that I unfortunately didn't get a chance to send out earlier.

1) Removes unlikely() from IS_ERR(), since it's already implied.

2) Remove a bogus sparse annotation that hasn't been needed for years.

3) Addition test in the test suite for stressing parallel ndo_start_xmit.

4) Slight struct reordering in preparation for subsequent fix.

5) If skb->protocol is bogus, we no longer attempt to send icmp messages.

6) Massive memory usage fix, hit by larger deployments.

7) Fix typo in kconfig dependency logic.

(1) and (2) are tiny cleanups, and (3) is just a test, so if you're
trying to reduce churn, you could not backport these. But (4), (5), (6),
and (7) fix problems and should be applied to stable. IMO, it's probably
easiest to just apply them all to stable.

Thanks,
Jason

Antonio Quartulli (1):
  wireguard: avoid double unlikely() notation when using IS_ERR()

Jann Horn (1):
  wireguard: socket: remove bogus __be32 annotation

Jason A. Donenfeld (5):
  wireguard: selftests: test multiple parallel streams
  wireguard: peer: put frequently used members above cache lines
  wireguard: device: do not generate ICMP for non-IP packets
  wireguard: queueing: get rid of per-peer ring buffers
  wireguard: kconfig: use arm chacha even with no neon

 drivers/net/Kconfig                        |  2 +-
 drivers/net/wireguard/device.c             | 21 +++---
 drivers/net/wireguard/device.h             | 15 ++--
 drivers/net/wireguard/peer.c               | 28 +++----
 drivers/net/wireguard/peer.h               |  8 +-
 drivers/net/wireguard/queueing.c           | 86 +++++++++++++++++-----
 drivers/net/wireguard/queueing.h           | 45 ++++++++---
 drivers/net/wireguard/receive.c            | 16 ++--
 drivers/net/wireguard/send.c               | 31 +++-----
 drivers/net/wireguard/socket.c             |  8 +-
 tools/testing/selftests/wireguard/netns.sh | 15 +++-
 11 files changed, 170 insertions(+), 105 deletions(-)

-- 
2.30.1


             reply	other threads:[~2021-02-22 16:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 16:25 Jason A. Donenfeld [this message]
2021-02-22 16:25 ` [PATCH net 1/7] wireguard: avoid double unlikely() notation when using IS_ERR() Jason A. Donenfeld
2021-02-22 16:25 ` [PATCH net 2/7] wireguard: socket: remove bogus __be32 annotation Jason A. Donenfeld
2021-02-22 16:25 ` [PATCH net 3/7] wireguard: selftests: test multiple parallel streams Jason A. Donenfeld
2021-02-22 16:25 ` [PATCH net 4/7] wireguard: peer: put frequently used members above cache lines Jason A. Donenfeld
2021-02-22 16:25 ` [PATCH net 5/7] wireguard: device: do not generate ICMP for non-IP packets Jason A. Donenfeld
2021-02-22 16:25 ` [PATCH net 6/7] wireguard: queueing: get rid of per-peer ring buffers Jason A. Donenfeld
2021-02-22 16:25 ` [PATCH net 7/7] wireguard: kconfig: use arm chacha even with no neon Jason A. Donenfeld
2021-02-24  0:02 ` [PATCH net 0/7] wireguard fixes for 5.12-rc1 Jakub Kicinski

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=20210222162549.3252778-1-Jason@zx2c4.com \
    --to=jason@zx2c4.com \
    --cc=davem@davemloft.net \
    --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;
as well as URLs for NNTP newsgroup(s).