[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <loom.20150524T065137-105@post.gmane.org>
Date: Sun, 24 May 2015 04:55:40 +0000 (UTC)
From: Oliver Graff <oliver.e.graff@...il.com>
To: netdev@...r.kernel.org
Subject: Re: Socket receives packet to multicast group to which it was not joined since kernel 3.13.10-1
Shawn Bohrer <shawn.bohrer <at> gmail.com> writes:
>
> On Tue, May 13, 2014 at 04:36:41PM -0500, Shawn Bohrer wrote:
> > If I did "break" something here it appears to be because with
> > ip_early_demux we only call ip_check_mc_rcu() once on the initial
> > packet, and subsequent packets destined for that socket simply need to
> > pass the __udp_is_mcast_sock() test. With ip_early_demux disaled we
> > call ip_check_mc_rcu() for every packet.
>
> So is the solution to effectively call ip_check_mc_rcu() inside
> udp_v4_early_demux()?
>
> --
> Shawn
>
(See earlier parts of thread here:
http://netdev.vger.kernel.narkive.com/mwurLsMT/socket-receives-packet-to-multicast-
group-to-which-it-was-not-joined-since-kernel-3-13-10-1)
Was a bug report filed for this / was this fixed?
I looked at the diffs from the referenced commit and the current version of
udp_v4_early_demux and the changes appear to be
minimal,
it doesn't look like ip_check_mc_rcu was added. Is that all that's needed?
- Oliver
--
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