Page MenuHomeFreeBSD

D34312.id102927.diff
No OneTemporary

D34312.id102927.diff

diff --git a/sys/net/vnet.h b/sys/net/vnet.h
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -238,6 +238,10 @@
curvnet = saved_vnet;
#endif /* VNET_DEBUG */
+#define CURVNET_ASSERT_SET() \
+ VNET_ASSERT(curvnet != NULL, ("vnet is not set at %s:%d %s()", \
+ __FILE__, __LINE__, __func__))
+
extern struct vnet *vnet0;
#define IS_DEFAULT_VNET(arg) ((arg) == vnet0)

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 13, 6:39 PM (17 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15365610
Default Alt Text
D34312.id102927.diff (381 B)

Event Timeline