mbox series

[net,0/3] wireguard patches for 6.0-rc6

Message ID 20220916143740.831881-1-Jason@zx2c4.com (mailing list archive)
Headers show
Series wireguard patches for 6.0-rc6 | expand

Message

Jason A. Donenfeld Sept. 16, 2022, 2:37 p.m. UTC
Hey guys,

Sorry we didn't get a chance to talk at Plumbers. I saw some of you very
briefly in passing but never had the opportunity to chat. Next time, I
hope.

Please pull the following fixes:

1) The ratelimiter timing test doesn't help outside of development, yet
   it is currently preventing the module from being inserted on some
   kernels when it flakes at insertion time. So we disable it.

2) A fix for a build error on UML, caused by a recent change in a
   different tree.

3) A WARN_ON() is triggered by Kees' new fortified memcpy() patch, due
   to memcpy()ing over a sockaddr pointer with the size of a
   sockaddr_in[6]. The type safe fix is pretty simple. Given how classic
   of a thing sockaddr punning is, I suspect this may be the first in a
   few patches like this throughout the net tree, once Kees' fortify
   series is more widely deployed (current it's just in next).

Thanks,
Jason

Jason A. Donenfeld (3):
  wireguard: ratelimiter: disable timings test by default
  wireguard: selftests: do not install headers on UML
  wireguard: netlink: avoid variable-sized memcpy on sockaddr

 drivers/net/wireguard/netlink.c               | 13 +++++-----
 drivers/net/wireguard/selftest/ratelimiter.c  | 25 ++++++++-----------
 .../testing/selftests/wireguard/qemu/Makefile |  2 ++
 3 files changed, 18 insertions(+), 22 deletions(-)

Comments

Jakub Kicinski Sept. 20, 2022, 1:20 a.m. UTC | #1
On Fri, 16 Sep 2022 15:37:37 +0100 Jason A. Donenfeld wrote:
> Sorry we didn't get a chance to talk at Plumbers. I saw some of you very
> briefly in passing but never had the opportunity to chat. Next time, I
> hope.

Indeed!

> Please pull the following fixes:

You say pull but you mean apply, right?
Jason A. Donenfeld Sept. 20, 2022, 6:47 a.m. UTC | #2
On Mon, Sep 19, 2022 at 06:20:53PM -0700, Jakub Kicinski wrote:
> On Fri, 16 Sep 2022 15:37:37 +0100 Jason A. Donenfeld wrote:
> > Sorry we didn't get a chance to talk at Plumbers. I saw some of you very
> > briefly in passing but never had the opportunity to chat. Next time, I
> > hope.
> 
> Indeed!
> 
> > Please pull the following fixes:
> 
> You say pull but you mean apply, right?

Yes, sorry.

Jason