Return EAGAIN for every deleted route when detaching an interface.
authormpi <mpi@openbsd.org>
Tue, 19 Jul 2016 10:26:41 +0000 (10:26 +0000)
committermpi <mpi@openbsd.org>
Tue, 19 Jul 2016 10:26:41 +0000 (10:26 +0000)
commit3d544934a25338e64c52747e5bd5ff52f77a9b4f
treed9d7ea05a08e1d3dfba4f5a6498385b0cd9b7941
parent27bc02843b5998f8c143fd4053023188b9e5dbd2
Return EAGAIN for every deleted route when detaching an interface.

Previously the code was "too clever" and returned EAGAIN only for
cloning route assuming that other deletion did not modify the tree.

Analysed by and ok dlg@
sys/net/route.c