c
< 	if (gsm->count == gsm->len)
---
> 	if (gsm->count < gsm->mru && gsm->count == gsm->len)
