kern/91851: cannot collect multicast upcall messages

SAKAI Hiroaki sakai.hiroaki at jp.fujitsu.com
Sun Jan 15 18:30:17 PST 2006


>Number:         91851
>Category:       kern
>Synopsis:       cannot collect multicast upcall messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 16 02:30:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     SAKAI Hiroaki
>Release:        FreeBSD-4.10
>Organization:
Network Service Division, FUJITSU
>Environment:
FreeBSD newface.finet.fujitsu.co.jp 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Wed Jun 16 11:12:16 JST 2004     hsakai at newface.finet.fujitsu.co.jp:/usr/src/sys/compile/NEWFACE  i386
>Description:
If kernel receives multicast packets came in the wrong interface, send a message to the routing daemon for PIM assert processing. The messages are not collected to ASSERT_MSG_TIME (3 seconds).

>How-To-Repeat:
              
>Fix:
in netinet/ip_mroute.c:ip_mdq():

--- ip_mroute.c~        Mon Jan 16 11:17:58 2006
+++ ip_mroute.c Mon Jan 16 11:18:14 2006
@@ -1505,7 +1505,7 @@
 
            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 };

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list