From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFC2EC35242 for ; Fri, 14 Feb 2020 22:57:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6E062086A for ; Fri, 14 Feb 2020 22:57:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="3icJgGR/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728056AbgBNW5c (ORCPT ); Fri, 14 Feb 2020 17:57:32 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:36023 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727811AbgBNW5c (ORCPT ); Fri, 14 Feb 2020 17:57:32 -0500 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id f846fd0f; Fri, 14 Feb 2020 22:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=mail; bh=06+yMhbdxeYZJncgZWh5JeOSc3g=; b=3icJgGR/IqTwuGfRikki dHIL7oA5331FFtNTfCsM7ER0XDC6xM4b5j1axYnrgFMClup7xyNSna6pGtdje0WV TLI98zzKLyj8GRcV8vRzyJQ0+fLTI91JWIbFEH+pBcE9ET11GCwDKqOnTGHSJpkx I7OUdKZ4ZoSWCfTtObTMRx00cVfCh4l55hEh+KI1J1aS1S0kxnfUOjxQPsws+VZn yyiURQHWP3fb8c4ui80d5Rurg1XZI6HlRy+pcb3pFugjDDOY0VBKaUjC+xlhXQx0 bLWf7bllBC+1I7UvuTijbv8tIJP5NwD8Wfp18TRN6yjC3R8tZ1+zeajzdDHw5cyH Xw== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 75cb62ee (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 14 Feb 2020 22:55:21 +0000 (UTC) From: "Jason A. Donenfeld" To: davem@davemloft.net, netdev@vger.kernel.org Cc: "Jason A. Donenfeld" Subject: [PATCH v3 net 0/4] wireguard fixes for 5.6-rc2 Date: Fri, 14 Feb 2020 23:57:19 +0100 Message-Id: <20200214225723.63646-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Here are four fixes for wireguard collected since rc1: 1) Some small cleanups to the test suite to help massively parallel builds. 2) A change in how we reset our load calculation to avoid a more expensive comparison, suggested by Matt Dunwoodie. 3) I've been loading more and more of wireguard's surface into syzkaller, trying to get our coverage as complete as possible, leading in this case to a fix for mtu=0 devices. 4) A removal of superfluous code, pointed out by Eric Dumazet. v2 fixes a logical problem in the patch for (3) pointed out by Eric Dumazet. v3 replaces some non-obvious bitmath in (3) with a more obvious expression, and adds patch (4). Jason A. Donenfeld (4): wireguard: selftests: reduce complexity and fix make races wireguard: receive: reset last_under_load to zero wireguard: send: account for mtu=0 devices wireguard: socket: remove extra call to synchronize_net drivers/net/wireguard/device.c | 7 ++-- drivers/net/wireguard/receive.c | 7 +++- drivers/net/wireguard/send.c | 16 +++++--- drivers/net/wireguard/socket.c | 1 - .../testing/selftests/wireguard/qemu/Makefile | 38 +++++++------------ 5 files changed, 34 insertions(+), 35 deletions(-) -- 2.25.0