34c34
< * $FreeBSD: head/sys/net/if_var.h 108036 2002-12-18 12:41:03Z hsu $
---
> * $FreeBSD: head/sys/net/if_var.h 108172 2002-12-22 05:35:03Z hsu $
412a413,419
> extern struct mtx ifnet_lock;
> #define IFNET_LOCK_INIT() mtx_init(&ifnet_lock, "ifnet", NULL, MTX_DEF)
> #define IFNET_WLOCK() mtx_lock(&ifnet_lock)
> #define IFNET_WUNLOCK() mtx_unlock(&ifnet_lock)
> #define IFNET_RLOCK() IFNET_WLOCK()
> #define IFNET_RUNLOCK() IFNET_WUNLOCK()
>
< * $FreeBSD: head/sys/net/if_var.h 108036 2002-12-18 12:41:03Z hsu $
---
> * $FreeBSD: head/sys/net/if_var.h 108172 2002-12-22 05:35:03Z hsu $
412a413,419
> extern struct mtx ifnet_lock;
> #define IFNET_LOCK_INIT() mtx_init(&ifnet_lock, "ifnet", NULL, MTX_DEF)
> #define IFNET_WLOCK() mtx_lock(&ifnet_lock)
> #define IFNET_WUNLOCK() mtx_unlock(&ifnet_lock)
> #define IFNET_RLOCK() IFNET_WLOCK()
> #define IFNET_RUNLOCK() IFNET_WUNLOCK()
>