diff options
Diffstat (limited to 'sys/net/raw_cb.h')
-rw-r--r-- | sys/net/raw_cb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/raw_cb.h b/sys/net/raw_cb.h index ffdf731..aa84a05 100644 --- a/sys/net/raw_cb.h +++ b/sys/net/raw_cb.h @@ -55,9 +55,9 @@ struct rawcb { #define RAWRCVQ 8192 #ifdef _KERNEL -#ifdef VIMAGE_GLOBALS -extern LIST_HEAD(rawcb_list_head, rawcb) rawcb_list; -#endif +VNET_DECLARE(LIST_HEAD(rawcb_list_head, rawcb), rawcb_list); +#define V_rawcb_list VNET_GET(rawcb_list) + extern struct mtx rawcb_mtx; /* |