]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use CURVNET macros inside inet_get_local_port_range() function.
authorrodrigc <rodrigc@FreeBSD.org>
Mon, 8 Dec 2014 07:25:59 +0000 (07:25 +0000)
committerrodrigc <rodrigc@FreeBSD.org>
Mon, 8 Dec 2014 07:25:59 +0000 (07:25 +0000)
commitea02e38701ea42fd8fcbdbf462299d19bab58657
tree56f7e3d87400c2b992f415dbd00b0235d224f19a
parent7c43dd3e09ad7453fd14aae04f43a7505077948b
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.

PR: 191468
Differential Revision: D1279
Reviewed by: hselasky
sys/ofed/include/linux/list.h
sys/ofed/include/net/ip.h