diff options
-rw-r--r-- | sys/netipx/spx_usrreq.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index 156b315..b826ee8 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -596,10 +596,8 @@ update_window: } else spxstat.spxs_rcvpackafterwin++; if (si->si_cc & SPX_OB) { - if (SSEQ_GT(si->si_seq, cb->s_alo + 60)) { - m_freem(dtom(si)); - return (0); - } /* else queue this packet; */ + if (SSEQ_GT(si->si_seq, cb->s_alo + 60)) + return (1); /* else queue this packet; */ } else { #ifdef BROKEN /* @@ -615,8 +613,7 @@ update_window: would crash system*/ #endif spx_istat.notyet++; - m_freem(dtom(si)); - return (0); + return (1); } } |