In ip_mdq() compute the TV_DELTA the correct way around.
PR: kern/91851 Submitted by: SAKAI Hiroaki <sakai.hiroaki-at-jp.fujitsu.com> MFC after: 3 days
This commit is contained in:
parent
26e03a9ecb
commit
2fd19a7545
@ -1757,7 +1757,7 @@ ip_mdq(struct mbuf *m, struct ifnet *ifp, struct mfc *rt, vifi_t xmt_vif)
|
||||
|
||||
GET_TIME(now);
|
||||
|
||||
TV_DELTA(rt->mfc_last_assert, now, delta);
|
||||
TV_DELTA(now, rt->mfc_last_assert, delta);
|
||||
|
||||
if (delta > ASSERT_MSG_TIME) {
|
||||
struct sockaddr_in k_igmpsrc = { sizeof k_igmpsrc, AF_INET };
|
||||
|
Loading…
x
Reference in New Issue
Block a user