if: Dispatch if_slowtimo() to netisr0 to run
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 6 Jan 2015 15:06:53 +0000 (23:06 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 7 Jan 2015 01:08:41 +0000 (09:08 +0800)
commitb5df1a857fa31fc55e1ea274ab3ddc8409a35ab5
treeb496c4345fd26f243ab7032dbe51abfb3c0af108
parent83167ee5a6cbd30fc7a5bc033d94a8ee8deb52c7
if: Dispatch if_slowtimo() to netisr0 to run

- Mark if_slowtimo callout MPSAFE.
- Rearrange the critical section in if_slowtimo().
- Accessing to ifnet global variable is now in netisr0.
sys/net/if.c