Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Nov 28, 2023
1 parent 2ab4711 commit 208d9b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -5836,9 +5836,9 @@ QuicConnRecvDatagrams(
}
}

if (!Connection->State.UpdateWorker &&
Connection->State.Connected &&
RecvState.UpdatePartitionId) {
if (!Connection->State.UpdateWorker && Connection->State.Connected &&
!Connection->State.ShutdownComplete && RecvState.UpdatePartitionId) {
CXPLAT_DBG_ASSERT(Connection->Registration);
CXPLAT_DBG_ASSERT(!Connection->Registration->NoPartitioning);
CXPLAT_DBG_ASSERT(RecvState.PartitionIndex != QuicPartitionIdGetIndex(Connection->PartitionID));
Connection->PartitionID = QuicPartitionIdCreate(RecvState.PartitionIndex);
Expand Down

0 comments on commit 208d9b4

Please sign in to comment.