[PATCH v1] tcp: Handle errors from tcp_send_flag()