mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 01:00:30 -04: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:
parent
31343a3da2
commit
1dec73a153
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue