BUG/MEDIUM: quic: qc_prep_app_pkts() retries on qc_build_pkt() failures

The "stop_build" label aim is to try to reuse the TX buffer when there is not
enough contiguous room to build a packet. It was defined but not used!
This commit is contained in:
Frédéric Lécaille 2022-03-10 17:06:59 +01:00 committed by Amaury Denoyelle
parent 530601cd84
commit d5066dd9dd

View File

@ -2527,7 +2527,7 @@ static int qc_prep_app_pkts(struct quic_conn *qc, struct qring *qr,
case -2:
goto err;
case -1:
goto out;
goto stop_build;
default:
break;
}