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