rodrigc created this revision. rodrigc added reviewers: bz, hselasky. rodrigc added a subscriber: freebsd-net.
REVISION SUMMARY PR: 191468 Use CURVNET macros inside inet_get_local_port_range() function. Without this fix, a kernel with VIMAGE + Infiniband will panic on bootup. Certain necessary #include statements require LIST_HEAD. Add these includes to ofed/include/linux/list.h, because LIST_HEAD is specifically overridden in this file. TEST PLAN # Compile a kernel with the following kernel config: include GENERIC ident VIMAGE options VIMAGE options VNET_DEBUG # InfiniBand support options OFED # InfiniBand support options SDP # SDP protocol options IPOIB # IPoIB options IPOIB_CM # IPoIB connected mode # InfiniBand Adapters device mlx4ib device mlxen device mthca # bhyve kernel debug device bvmdebug # Boot it REVISION DETAIL https://reviews.freebsd.org/D1279 AFFECTED FILES sys/ofed/include/linux/list.h sys/ofed/include/net/ip.h To: rodrigc, bz, hselasky Cc: freebsd-net _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"