[Bug 268092] ixgbe: if_ixv driver have mismatched Rx buffer size and rx_mbuf_sz

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268092

--- Comment #1 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=cdbe3de5383706da0f6d3c29f1ec2dcfed366bf1

commit cdbe3de5383706da0f6d3c29f1ec2dcfed366bf1
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2024-10-26 21:34:30 +0000
Commit:     Kevin Bowling <[email protected]>
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 <[email protected]>
    MFC after:      3 days
    Sponsored by:   BBOX.io

 sys/dev/ixgbe/if_ixv.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.