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

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Thu, 05 Feb 2015 12:45:09 -0000

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

Comment (by korli):

 1. I would check the busy flag with sLock hold in SetDown(), or SetBusy()
 should return the previous value and return if already busy (with
 atomic_get_and_set())
 2. I would also check for the busy flag in
 get_interface_address_for_destination(), get_interface_address_for_link().

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

Other related posts: