Remove duplicated and wrong sc->sc_last_recv setting. It unbreaks
active-filter in pppd(8). PR: kern/12281 Submitted by: Tim Moore <moore@bricoworks.com> Not objected by: peter Reviewed by: ru Approved by: ru MFC after: 1 week
This commit is contained in:
parent
88c99cfbc8
commit
21147bea38
@ -1492,13 +1492,10 @@ ppp_inproc(sc, m)
|
|||||||
m->m_pkthdr.len -= PPP_HDRLEN;
|
m->m_pkthdr.len -= PPP_HDRLEN;
|
||||||
m->m_data += PPP_HDRLEN;
|
m->m_data += PPP_HDRLEN;
|
||||||
m->m_len -= PPP_HDRLEN;
|
m->m_len -= PPP_HDRLEN;
|
||||||
if (ipflow_fastforward(m)) {
|
if (ipflow_fastforward(m))
|
||||||
sc->sc_last_recv = time_second;
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
schednetisr(NETISR_IP);
|
schednetisr(NETISR_IP);
|
||||||
inq = &ipintrq;
|
inq = &ipintrq;
|
||||||
sc->sc_last_recv = time_second; /* update time of last pkt rcvd */
|
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef IPX
|
#ifdef IPX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user