inet: Dispatch in_ifdetach to netisr0 to run
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 11 May 2014 06:57:06 +0000 (14:57 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 11 May 2014 11:30:40 +0000 (19:30 +0800)
commitbcdae585b0754bb3abc142da1c5cfa9eb30f1409
tree78c3491d93b560d192c1bce77f1c15f9ccf7c25d
parentef15d4696d885cb494149059ede32cd5880f36df
inet: Dispatch in_ifdetach to netisr0 to run

Currently:
- It only goes through two inpcb lists.  Accessing to these two lists
  is lockless MPSAFE only if the accessing is in netisr0.
- It only modifies inpcbs' multicast option, which should be modified
  in netisr0.
sys/netinet/in.c