[haiku-bugs] Re: [Haiku] #12399: Static network address configuration fails

  • From: "ambroff" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Feb 2017 08:44:47 -0000

#12399: Static network address configuration fails
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  high                      |  Milestone:  R1/beta1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by ambroff):

 I spent some time tracing through this in the debugger today after running
 into this bug. The "w>Network" thread is the interesting one. It's
 blocking [http://cgit.haiku-
 
os.org/haiku/tree/src/kits/network/netresolv/resolv/res_send.c?id=ea1235e6548a7a1da1de3f79a2d534564ffa6f2e#n852
 here in send_dg()]. BNetworkAddressResolver::SetTo() leads to a
 getaddrinfo() call, and this is done for the address, netmask and gateway.

 After it has exhausted all of its retries it moves on. I need to read some
 more of this code to understand what the right behavior should be. Either
 this situation should be detected a lot earlier or the timeouts in that
 loop need to be tighter.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12399#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: