Searched hist:"4 e38478c595a9e6225b525890d7ee269a203c200" (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | diff 4e38478c595a9e6225b525890d7ee269a203c200 Thu Mar 25 16:55:02 CET 2021 Hans Petter Selasky <hselasky@FreeBSD.org> ipoib: Fix incorrectly computed IPOIB_CM_RX_SG value.
The computed IPOIB_CM_RX_SG is too small. It doesn't account for fallback to mbuf clusters when jumbo frames are not available and it also doesn't account for the packet header and trailer mbuf.
This causes a memory overwrite situation when IPOIB_CM is configured.
While at it add a kernel assert to ensure the mapping array is not overwritten.
PR: 254474 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
H A D | ipoib.h | diff 4e38478c595a9e6225b525890d7ee269a203c200 Thu Mar 25 16:55:02 CET 2021 Hans Petter Selasky <hselasky@FreeBSD.org> ipoib: Fix incorrectly computed IPOIB_CM_RX_SG value.
The computed IPOIB_CM_RX_SG is too small. It doesn't account for fallback to mbuf clusters when jumbo frames are not available and it also doesn't account for the packet header and trailer mbuf.
This causes a memory overwrite situation when IPOIB_CM is configured.
While at it add a kernel assert to ensure the mapping array is not overwritten.
PR: 254474 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
H A D | ipoib_ib.c | diff 4e38478c595a9e6225b525890d7ee269a203c200 Thu Mar 25 16:55:02 CET 2021 Hans Petter Selasky <hselasky@FreeBSD.org> ipoib: Fix incorrectly computed IPOIB_CM_RX_SG value.
The computed IPOIB_CM_RX_SG is too small. It doesn't account for fallback to mbuf clusters when jumbo frames are not available and it also doesn't account for the packet header and trailer mbuf.
This causes a memory overwrite situation when IPOIB_CM is configured.
While at it add a kernel assert to ensure the mapping array is not overwritten.
PR: 254474 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|