mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-26 10:59:44 +08:00
Commented out calls to pin and unpin.
This commit is contained in:
parent
fdd321cb3e
commit
31230c0c72
@ -938,7 +938,9 @@ netisr_dispatch_src(u_int proto, uintptr_t source, struct mbuf *m)
|
|||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
}
|
}
|
||||||
KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid));
|
KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid));
|
||||||
|
#ifndef __rtems__
|
||||||
sched_pin();
|
sched_pin();
|
||||||
|
#endif /* __rtems__ */
|
||||||
if (cpuid != curcpu)
|
if (cpuid != curcpu)
|
||||||
goto queue_fallback;
|
goto queue_fallback;
|
||||||
nwsp = DPCPU_PTR(nws);
|
nwsp = DPCPU_PTR(nws);
|
||||||
@ -997,7 +999,9 @@ netisr_dispatch_src(u_int proto, uintptr_t source, struct mbuf *m)
|
|||||||
queue_fallback:
|
queue_fallback:
|
||||||
error = netisr_queue_internal(proto, m, cpuid);
|
error = netisr_queue_internal(proto, m, cpuid);
|
||||||
out_unpin:
|
out_unpin:
|
||||||
|
#ifndef __rtems__
|
||||||
sched_unpin();
|
sched_unpin();
|
||||||
|
#endif /* __rtems__ */
|
||||||
out_unlock:
|
out_unlock:
|
||||||
#ifdef NETISR_LOCKING
|
#ifdef NETISR_LOCKING
|
||||||
NETISR_RUNLOCK(&tracker);
|
NETISR_RUNLOCK(&tracker);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user