Summary: | ixgbe: if_ixv driver have mismatched Rx buffer size and rx_mbuf_sz | ||
---|---|---|---|
Product: | Base System | Reporter: | Kumara Babu <nkumarababu> |
Component: | kern | Assignee: | Kevin Bowling <kbowling> |
Status: | In Progress --- | ||
Severity: | Affects Many People | CC: | emaste, erj, kbowling, lwhsu |
Priority: | --- | Keywords: | IntelNetworking |
Version: | 12.2-STABLE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Kumara Babu
2022-12-01 02:04:53 UTC
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(-) |