In fact this block is unnecessary, cannot be hit. A RTM_CREATE* will create intermediate nodes if missing, so the line on 584 if sufficient.