diff --git a/src/rx/rx_packet.c b/src/rx/rx_packet.c index 6a8005e110..0f0513d42a 100644 --- a/src/rx/rx_packet.c +++ b/src/rx/rx_packet.c @@ -2736,8 +2736,8 @@ rxi_PrepareSendPacket(struct rx_call *call, } if (len) p->wirevec[i - 1].iov_len += len; - RXS_PreparePacket(conn->securityObject, call, p); MUTEX_ENTER(&call->lock); + RXS_PreparePacket(conn->securityObject, call, p); } /* Given an interface MTU size, calculate an adjusted MTU size that