Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2024 21:38:02 +0000
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
Message-ID:  <bug-268092-7501-TUf9gBh16l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268092-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268092-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kbowling@FreeBSD.org>
AuthorDate: 2024-10-26 21:34:30 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
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 <nkumarababu@gmail.com>
    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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268092-7501-TUf9gBh16l>