[Top] [All Lists]

bugs in net/ipv6/mcast.c (fwd)

To: netdev@xxxxxxxxxxx
Subject: bugs in net/ipv6/mcast.c (fwd)
From: Pekka Savola <pekkas@xxxxxxxxxx>
Date: Sat, 25 Oct 2003 22:27:27 +0300 (EEST)
Cc: Ed Rupp <niteowl@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Probably fixed already, but just in case...

---------- Forwarded message ----------
Date: Sat, 25 Oct 2003 07:23:53 -0500
From: Ed Rupp <niteowl@xxxxxxxxxxxxx>
To: pekkas@xxxxxxxxxx
Subject: bugs in net/ipv6/mcast.c

Hi.  In the latest linux-2.6.0-test8 source there are 2 bugs in 
In function inet6_mc_check() the if statements on lines 607 and 609 have
extra semicolons that will cause the code to fail.

                if (mc->sfmode == MCAST_INCLUDE && i >= psl->sl_count);
                        rv = 0;
                if (mc->sfmode == MCAST_EXCLUDE && i < psl->sl_count);
                        rv = 0;

<Prev in Thread] Current Thread [Next in Thread>