[Bug 268092] ixgbe: if_ixv driver have mismatched Rx buffer size and rx_mbuf_sz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Oct 2024 21:38:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268092 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cdbe3de5383706da0f6d3c29f1ec2dcfed366bf1 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(-) -- You are receiving this mail because: You are the assignee for the bug.