While Rev 1.285 fixed a RB tree corruption it caused a TAILQ corruption
authorclaudio <claudio@openbsd.org>
Tue, 13 May 2014 14:33:25 +0000 (14:33 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 13 May 2014 14:33:25 +0000 (14:33 +0000)
commit23b96eabad0caa9eb404e10276faa4f208d9c491
treeb5e6ef9d98345acbcb12410efc2e411893f1bb81
parentcb18f3fb98b3ec996b61f4249c65e5349a9f1eb5
While Rev 1.285 fixed a RB tree corruption it caused a TAILQ corruption
in the case where the rdomain was not switched. Make sure ifa_add() is
only called if ifa_del() was called previously. Hopefully we got all the
corruption fixed.
With and OK mpi@
sys/net/if.c