From nobody Sat Sep 10 20:04:28 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MQ3jT5Nybz4bsPR for ; Sat, 10 Sep 2022 20:04:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MQ3jT4MDlz3pjN for ; Sat, 10 Sep 2022 20:04:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MQ3jT3QGBzQ5H for ; Sat, 10 Sep 2022 20:04:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28AK4T7H040149 for ; Sat, 10 Sep 2022 20:04:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28AK4TVZ040148 for net@FreeBSD.org; Sat, 10 Sep 2022 20:04:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 235607] Incorrect checksums with NAT on vtnet with offloading Date: Sat, 10 Sep 2022 20:04:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662840269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a+922mwE2EhV8aX6UPqOY1GNNqS1dtDBO37+ppxeOaE=; b=BRUFk3HNUlwmXJlBcMQWvUCqiVcjUPPfESxeTdnB52GVnS3beQQqOzktOA+lZcjktCpAHp XmUS4JybYGo5sL7vxDmb9KpS2QCZGm44HvyJ2dkUOm9T3gQ9CwwlP1koDgt3gasTpxaGZM 1e4Xfmx+NJtJKZalRvTKIrSZSoOYZhZT0UH58STgNx1mYlqjRTHGi9iezWo+h4JVkxmTIn PwPrbmXoWrDZQS/3npnf5eFVlz2Dbl/YFvG14+OHU0rKk7Xz4SKNnBwpW8vyN7vE8T/OXW +rvakzSqM8QM4FVv/S4cY+FeRP3Y5iiesvssqaIDPjaXxpzZYc0A4pJx4JYM3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662840269; a=rsa-sha256; cv=none; b=Z4zO0NRGBdqIDbw6GYWfSe1TYtgbzYZMDS4xGa9xtSFyrhvMHRefRakJ7gEqM6oV1V+F8D eHbgu/LNKNu30Y+h867qfxMcZGr3udv0UYJI89W1iGBw7bCvbWXOG2GN2Dvr9ed8sbVSIE lp8G91oAcCKpNM+b2pi4f4EQj2N6HuILGWtm3jfYuT2vL1Ufd5HpccvMGUCbp8lo0pR2cD gk8/kleuvL6QpQXG/W8RvcXtfSHjwcegPHJGEyKn4bNiOHsIF6SJskWuwctnnjWFprHuBR zOSAAKQuYpChNH+AiG2trRjnYVCzuCcHH+HTeSyDTzZrc5kqIuAYk21+EgU2OA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235607 --- Comment #15 from Eugene Grosbein --- FreeBSD's vtnet(4) driver upto 12.3 version implements checksum offload for transmit path ONLY. For receive path, it blindly assumes that ALL traffic comes from another virtual machine running on same hypervisor that just did checksumming alrea= dy, so it just skips its own checksumming. The solution is to disable non-worki= ng rxcsum "offload" with ifconfig(8): ifconfig vtnet0 -rxcsum In case of NAT, this solves the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=