MINOR: quic: Missing acks encoded size updates.

There were cases where the encoded size of acks was not updated leading
to ACK frames building too big compared to the expected size. At this
time, this makes the code "BUG_ON()".
This commit is contained in:
Frédéric Lécaille 2021-08-10 09:54:03 +02:00 committed by Amaury Denoyelle
parent 8b19a9f162
commit 82b8652ac6

View File

@ -2450,9 +2450,9 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs,
}
}
out:
quic_arngs_set_enc_sz(arngs);
out:
return 1;
}
/* Remove the header protection of packets at <el> encryption level.