Make link_filter() propagate the generated error code.