[haiku-bugs] Re: [Haiku] #12737: fd passing functionality fails on x86_64

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Fri, 29 Apr 2016 15:04:00 -0000

#12737: fd passing functionality fails on x86_64
----------------------------------------+----------------------------
   Reporter:  korli                     |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:  12736
Has a Patch:  0                         |   Platform:  x86-64
----------------------------------------+----------------------------

Comment (by axeld):

 Ah, I misunderstood before. You're right, the `CMSG_NXTHDR()` macro
 definition indicates that the `_ALIGN()` in this case is actually needed.

 BTW, when you touch that method anyway, I would move the test for the
 availability of the `add_anillary_data` function in the protocol out of
 the loop.

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

Other related posts: