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