]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/natpt_tslot.c
xnu-201.tar.gz
[apple/xnu.git] / bsd / netinet6 / natpt_tslot.c
index c8beef5363151cbf6588efbd2a956c24ce7919b3..b3fd9e9376ef3b15eb8e6eafdde03d15d44c0eac 100644 (file)
@@ -713,7 +713,7 @@ _expireTSlot(void *ignored_arg)
     struct timeval     atv;
 #ifdef __APPLE__
     boolean_t   funnel_state;
-    funnel_state = thread_set_funneled(TRUE);
+    funnel_state = thread_funnel_set(network_flock, TRUE);
 #endif
 
     timeout(_expireTSlot, (caddr_t)0, tSlotTimer);
@@ -721,7 +721,7 @@ _expireTSlot(void *ignored_arg)
 
     _expireTSlotEntry(&atv);
 #ifdef __APPLE__
-    (void) thread_set_funneled(funnel_state);
+   (void) thread_funnel_set(network_flock, FALSE);
 #endif
 }