[PATCH v4 02/10] tcp: extract buffer management from tcp_send_flag()