diff --git a/include/proto/stream_interface.h b/include/proto/stream_interface.h index e790c7170..2874664f1 100644 --- a/include/proto/stream_interface.h +++ b/include/proto/stream_interface.h @@ -436,7 +436,7 @@ static inline void si_chk_rcv(struct stream_interface *si) if (si_rx_blocked(si) || !si_rx_endp_ready(si)) return; - if (si->state > SI_ST_EST) + if (si->state != SI_ST_EST) return; si->flags |= SI_FL_RX_WAIT_EP;