[PATCH v6 1/8] tcp: extract buffer management from tcp_send_flag()