BIND 10 #1452: add UDP socket passing to fd_X handling

BIND 10 Development do-not-reply at isc.org
Tue Dec 20 10:18:40 UTC 2011


#1452: add UDP socket passing to fd_X handling
-------------------------------------+-------------------------------------
                   Reporter:  jelte  |                 Owner:  vorner
                       Type:  task   |                Status:  reviewing
                   Priority:  major  |             Milestone:
                  Component:  DDNS   |  Sprint-20111220
                   Keywords:         |            Resolution:
            Defect Severity:  N/A    |             Sensitive:  0
Feature Depending on Ticket:  DDNS   |           Sub-Project:  DNS
        Add Hours to Ticket:  0      |  Estimated Difficulty:  5
                  Internal?:  0      |           Total Hours:  0
-------------------------------------+-------------------------------------

Comment (by vorner):

 Hello

 Replying to [comment:14 jinmei]:
 > As I worked on the python wrapper part of this task I noticed I
 > overlooked a few more corner cases in this branch.  So I revised the
 > branch to handle these cases.  Could you check these changes, too?

 These look OK.

 Anyway, it started to fail to compile for me. It doesn't seem anything
 relevant changed here, though.

 {{{
 cc1plus: warnings being treated as errors
 ../../../../../src/lib/util/io/fd_share.cc: In function ‘int
 isc::util::io::recv_fd(int)’:
 ../../../../../src/lib/util/io/fd_share.cc:106:47: error: dereferencing
 type-punned pointer will break strict-aliasing rules
 ../../../../../src/lib/util/io/fd_share.cc: In function ‘int
 isc::util::io::send_fd(int, int)’:
 ../../../../../src/lib/util/io/fd_share.cc:135:32: error: dereferencing
 type-punned pointer will break strict-aliasing rules
 make[6]: *** [fd_share.lo] Error 1
 }}}

 Did you do anything regarding it? I guess we should try to be aliasing
 save, and if not, disable the strict aliasing uptimisations for the given
 objects.

 I'll look into the python part now.

 Thanks

-- 
Ticket URL: <http://bind10.isc.org/ticket/1452#comment:17>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list