Would `payload_len = min(payload_len, L2_PING_PAYLOAD_SIZE)` be bad?