]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r206470:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 21 Apr 2010 19:48:40 +0000 (19:48 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 21 Apr 2010 19:48:40 +0000 (19:48 +0000)
commit3ba4583554202381d0b9d2866fde3be91915a61a
treea53f2e4015f30c3f0c2904bae33946b9005ede6a
parent77b3dbbdb67b8ff0d34cc503f038f6bd43188358
MFC r206470:

  In if_detach_internal() we cannot hold the af_data lock over the
  dom_ifdetach() calls as they might sleep for callout_drain().
  Do as we do in if_attachdomain1() [r121470] and handle
  if_afdata_initialized earlier and call dom_ifdetach() unlocked.

  Discussed with:       rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@207012 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/if.c