macppc kernel and clang

2020-03-14 Thread George Koehler
Hello tech@ list! With this diff, it becomes possible to build macppc kernel with base-clang. The default compiler for macppc is base-gcc. rgc mailed the ppc@ list to report problems with clang kernel, and got a working kernel with clang -Oz (to stop clang inlining some functions in

Improve handling of IPv6 SLAAC renumbering scenarios

2020-03-14 Thread Fernando Gont
Folks, This improves IPv6 SLAAC handling of renumbering scenarios. At the time of this writing, this doesn't follow the spec, but is the right thing. Essentially, PIOs will employ these default values: Preferred Lifetime = Router Lifetime (as sent by router, defaulting to 1800) Valid