svn commit: r257692 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Tue Nov 5 07:47:22 UTC 2013


On Tue, Nov 05, 2013 at 07:44:15AM +0000, Gleb Smirnoff wrote:
T>   Rewrite in_control(), so that it is comprehendable without getting mad.
T>   
T>   o Provide separate functions for SIOCAIFADDR and for SIOCDIFADDR, with
T>     clear code flow from beginning to the end. After that the rest of
T>     in_control() gets very small and clear.
T>   o Provide sx(9) lock to protect against parallel ioctl() invocations.
T>   o Reimplement logic from r201282, that tried to keep localhost route in
T>     table when multiple P2P interfaces with same local address are created
T>     and deleted.
T>   
T>   Discussed with:		pluknet, melifaro
T>   Sponsored by:		Netflix
T>   Sponsored by:		Nginx, Inc.

This may break things for someone. I am open at throwing stones at me. :)

Please report any strangeness you notice and I'll fix it ASAP.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list