dhcpcd-discuss

Re: results patch dhcp6.c, version 2

Roy Marples

Tue Jun 03 14:05:40 2014

On 03/06/2014 14:53, Roy Marples wrote:
On 25/05/2014 12:56, Peter Mattern wrote:
Sending the modified patch and an sdiff comparing the journal output
of unpatched dhcpcd vs. the version patched with this modified patch.

Btw. in the attachments to my last post the lines
      DUID <IPv6 address>
were due to an error running sed, of course. Actual logs contained
DUIDs, no IPv6 addresses.

OK, so the error is setting SO_REUSEPORT.
This socket option is quiet new to Linux and was added in 3.9.
So the question now becomes what kernel are you running and what
kernel headers are you compiling against?

It seems the Linux headers are a bit dodgy after reading other upstream bug reports about this. Basically the macro for SO_REUSEPORT is available but not actually working. Kinda silly, but here we are. I've changed this from a fatal condition to a warning here:
http://roy.marples.name/projects/dhcpcd/ci/d5f4635425?sbs=0

So you should be good to go now!

Thanks

Roy

Follow-Ups:
DHCPv6 working, some questions remainPeter Mattern
References:
meaning of an error message related to DHCPv6Peter Mattern
Re: meaning of an error message related to DHCPv6Roy Marples
results after patching dhcp6.cPeter Mattern
Re: results after patching dhcp6.cRoy Marples
results patch dhcp6.c, version 2Peter Mattern
Re: results patch dhcp6.c, version 2Roy Marples
Archive administrator: postmaster@marples.name