From d0147f27c78887e74c73b5157a363120412f0c73 Mon Sep 17 00:00:00 2001 From: kmacy Date: Wed, 17 Dec 2008 00:11:56 +0000 Subject: convert ifnet and afdata locks from mutexes to rwlocks --- sys/net/if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if.c') diff --git a/sys/net/if.c b/sys/net/if.c index 6f829b7..9f0b063 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -158,7 +158,7 @@ static struct knlist ifklist; #endif int ifqmaxlen = IFQ_MAXLEN; -struct mtx ifnet_lock; +struct rwlock ifnet_lock; static if_com_alloc_t *if_com_alloc[256]; static if_com_free_t *if_com_free[256]; -- cgit v1.1