Patch "xfrm: skip policies marked as dead while rehashing" has been added to the 4.14-stable tree