K 10 svn:author V 8 hselasky K 8 svn:date V 27 2021-04-01T09:23:05.384863Z K 7 svn:log V 646 MFC 4e38478c595a: 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 Sponsored by: Mellanox Technologies // NVIDIA Networking (cherry picked from commit 4e38478c595a9e6225b525890d7ee269a203c200) Git Hash: 4316db31c2c861c60ba39af35f5a781ce7db95da Git Author: hselasky@FreeBSD.org END