[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080330.231247.105318612.yoshfuji@linux-ipv6.org>
Date: Sun, 30 Mar 2008 23:12:47 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: dlstevens@...ibm.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH 2.6] [IPV6] MCAST: Ensure to check multicast
listener(s).
In article <OFA7B9706D.1E52ED5D-ON8825741C.004BE625-8825741C.004BFD53@...ibm.com> (at Sun, 30 Mar 2008 06:49:58 -0700), David Stevens <dlstevens@...ibm.com> says:
> > After commit ae7bf20a6316272acfcaef5d265b18aaa54b41e4, all packets
> > for multicast destinations are delivered to upper layer if
> > IFF_PROMISC or IFF_ALLMULTI is set.
>
> Isn't that the intent of IFF_PROMISC and IFF_ALLMULTI?
Original intent for that flag check was for optimization.
This was assuming, WITHOUT those flags, L2 appropriately filters
unwanted multicast packets; not true.
L2 is expected to pass all multicast to L3, but even with those flags,
we should filter them according to our listeners, upper layer
(extension header etc.) should not see them.
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists