[haiku-bugs] Re: [Haiku] #9377: Network Stack Deadlock

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Mon, 04 Feb 2013 10:45:30 -0000

#9377: Network Stack Deadlock
----------------------------------------+----------------------------
   Reporter:  jackburton                |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by jackburton):

 I went with the second solution.
 Here's a patch which converts the net_interfaces mutex to a
 recursive_lock, so that it can be acquired in Interface::SetDown().
 This avoids the deadlock.
 Please someone review the patch.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9377#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: