Kernel commit d35a00b8e33dab7385f724e713ae71c8be0a49f4 breaks wireguard

Bruno Wolff III bruno at wolff.to
Mon Feb 27 19:04:34 CET 2017


When building wireguard for Fedora's 4.11.0-0.rc0.git4.2.fc26.x86_64 kernel 
I get the following error:
/home/bruno/WireGuard/src/device.c: In function ‘open’:
/home/bruno/WireGuard/src/device.c:44:9: error: ‘struct inet6_dev’ has no member named ‘addr_gen_mode’
   dev_v6->addr_gen_mode = IN6_ADDR_GEN_MODE_NONE;
         ^~

It looks like addr_gen_mode was dropped from inet6_dev in 
include/net/if_inet6.h in commit d35a00b8e33dab7385f724e713ae71c8be0a49f4.


More information about the WireGuard mailing list