From 2fd19a7545dc8f29cd188e1760ec721a0e5ccc47 Mon Sep 17 00:00:00 2001 From: andre Date: Tue, 24 Jan 2006 17:09:12 +0000 Subject: [PATCH] In ip_mdq() compute the TV_DELTA the correct way around. PR: kern/91851 Submitted by: SAKAI Hiroaki MFC after: 3 days --- sys/netinet/ip_mroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index fc7d6a217600..6472f760c042 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -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 };