Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178201019
D1279.1796244944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
945 B
Referenced Files
None
Subscribers
None
D1279.1796244944.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
Wed, Dec 2, 8:55 PM (20 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42156457
Default Alt Text
D1279.1796244944.diff (945 B)
Attached To
Mode
D1279: Fix crash when VIMAGE + Infiniband is compiled into the kernel
Attached
Detach File
Event Timeline