CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2013/11/14 09:52:33

Modified files:
        sys/net        : if_sppp.h if_spppsubr.c 

Log message:
Improvements for address assignment and related issues in IPv6CP.

Move address assignment to process context. This uses a workq at
present, conversion to taskq is on my todo list (discussed with dlg).
Instead of rummaging around in sockaddr_in6 structs, use the proper
netinet6 APIs to configure addresses.
Deal with IFID collisions instead of ignoring them. The whole point of
IPv6CP is to avoid IFID collisions. Use arc4random() during IFID generation.
Assign destination address to /128 point-to-point links.

tested by me and sthen with pppoe(4)
ok sthen

Reply via email to