X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/de355530ae67247cbd0da700edb3a2a1dae884c2..91447636331957f3d9b5ca5b508f07c526b0074d:/bsd/netat/aurp_misc.c diff --git a/bsd/netat/aurp_misc.c b/bsd/netat/aurp_misc.c index 662499730..f1cd9a728 100644 --- a/bsd/netat/aurp_misc.c +++ b/bsd/netat/aurp_misc.c @@ -84,15 +84,14 @@ void AURPupdate(arg) void *arg; { unsigned char node; - boolean_t funnel_state; aurp_state_t *state; - funnel_state = thread_funnel_set(network_flock, TRUE); + atalk_lock(); state = (aurp_state_t *)&aurp_state[1]; if (aurp_gref == 0) { - (void) thread_funnel_set(network_flock, FALSE); + atalk_unlock(); return; } /* @@ -110,7 +109,7 @@ void AURPupdate(arg) timeout(AURPupdate, arg, AURP_UpdateRate*10*HZ); update_tmo = 1; - (void) thread_funnel_set(network_flock, FALSE); + atalk_unlock(); } /* */