1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

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:
Andre Oppermann 2006-01-24 17:09:12 +00:00
parent 31343a3da2
commit 1dec73a153
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154779

View File

@ -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 };