Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168241045
D1279.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
945 B
Referenced Files
None
Subscribers
None
D1279.diff
View Options
Index: sys/ofed/include/linux/list.h
===================================================================
--- sys/ofed/include/linux/list.h
+++ sys/ofed/include/linux/list.h
@@ -40,6 +40,7 @@
#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/cpuset.h>
+#include <sys/jail.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
@@ -53,6 +54,7 @@
#include <net/if_var.h>
#include <net/if_types.h>
#include <net/if_media.h>
+#include <net/vnet.h>
#include <netinet/in.h>
#include <netinet/in_pcb.h>
Index: sys/ofed/include/net/ip.h
===================================================================
--- sys/ofed/include/net/ip.h
+++ sys/ofed/include/net/ip.h
@@ -45,8 +45,10 @@
#ifdef INET
static inline void inet_get_local_port_range(int *low, int *high)
{
+ CURVNET_SET_QUIET(TD_TO_VNET(curthread));
*low = V_ipport_firstauto;
*high = V_ipport_lastauto;
+ CURVNET_RESTORE();
}
static inline void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 3:15 AM (3 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37431919
Default Alt Text
D1279.diff (945 B)
Attached To
Mode
D1279: Fix crash when VIMAGE + Infiniband is compiled into the kernel
Attached
Detach File
Event Timeline
Log In to Comment