From nobody Sat Oct 26 21:38:02 2024 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 4XbY0q3CM5z5bCYW for ; Sat, 26 Oct 2024 21:38:03 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XbY0q266xz4JfF for ; Sat, 26 Oct 2024 21:38:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729978683; 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=xp8iNZ6KZwae0ncahb4PKstitoQS7jWXXOmhQLtCrZs=; b=O5vciSGoL7iDGqZClz+j1wJcHSIWUwRPLaqJdalOQ/TC3u0Xd/nWIuXpHIy4cfN1dGPI3f LsgHa41HZowah52OByVUs1OnuYtbC1ipAhj8PwNLtVKDSgT3b6N2zbrsFGQDrhOMzBnPmH jEilEM4CQiaRz0wcI5nA7v5tMgX8EG4gfOvhf6lqLrqQ54k7Nn2NN6vVVaz7Jrydpubaja d/w0KXxv5tedwk22zLtLPfiI2DvDRAISIJT1ZhQxPpRGxuvhPmr7UEWhpJZXEBZv2SF9JZ 3ERz3+y1Pn1WGqcOVND4SUF8KvjmdpManrl9kDlWEs40/bzCOv6/bGb7QNBWNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729978683; a=rsa-sha256; cv=none; b=EuJAvJv0bO2nEJoeulCWaR7oWrX2ofW75SEdv364ws8XNBEnP9ag0LO+UGqGd0xHDNG9YF n/fwP0aRq5wKvYj2f3O0UK25Ibuy2Ictja/rKFtSLFgp5xvHT1r4mmkd5BKeKgL8jZUsAQ mHn6mKwLU59uBCrr+SB0Ve5uDHBZdCGIwUVyK7RhZqeHDiw3MOpN+IgxPl2xJR8SiozgHR Pxerui4pZTD467tzwiDpwElSNas1aHHvOFbdBm1hPAyEeKYaFNbMtcZ6rExmR5fNyhwgf+ 2wutiG7MOBJfqAI+3G+zCSaPrDL2EMJ6quCHq7eiu2P1A5+rnCdvbjBluoysWQ== 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 4XbY0q1ZjMzR11 for ; Sat, 26 Oct 2024 21:38:03 +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 49QLc3Z0012536 for ; Sat, 26 Oct 2024 21:38:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49QLc3FZ012535 for net@FreeBSD.org; Sat, 26 Oct 2024 21:38:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 268092] ixgbe: if_ixv driver have mismatched Rx buffer size and rx_mbuf_sz Date: Sat, 26 Oct 2024 21:38:02 +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.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268092 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dcdbe3de5383706da0f6d3c29f1ec2dcfe= d366bf1 commit cdbe3de5383706da0f6d3c29f1ec2dcfed366bf1 Author: Kevin Bowling AuthorDate: 2024-10-26 21:34:30 +0000 Commit: Kevin Bowling CommitDate: 2024-10-26 21:36:48 +0000 ixv: Dynamically size the receive packet size If MTU of the if_ixv VF driver is configured between 1501 and 2030, and if a peer box have bigger MTU and sends a packet bigger than MTU into this guest, kernel could crash. Dynamically calculate the receive packet size on rx_mbuf_sz as ix(4) does. PR: 268092 Reported by: Kumara Babu MFC after: 3 days Sponsored by: BBOX.io sys/dev/ixgbe/if_ixv.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=