Re: [PATCH] Multicast: Avoid useless duplication of multicast messages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vlad Yasevich
Date: Wednesday, April 15, 2009 - 9:07 am

Neil Horman wrote:

The problem is that if an application follows an IP_ADD_MEMBERSHIP call with
an IP_BLOCK_SOURCE call, thus extending the exclude the list, we would still
deliver packets that don't match the multicast destination.  That violates the
above SSM requirement.  It appears to be an API bug that allows for a violation
of the protocol specification.


See above.  IP_ADD_MEMBERSHIP is also part of the ssm model since it can be
followed with IP_BLOCK_SOURCE.  They have to work together, but the socket matching
code is ignoring it if it can't find the multicast in the socket's list.

-vlad


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Kernel sends multicast groups to sockets that did not subs ..., Christoph Lameter, (Mon Apr 13, 2:06 pm)
Re: Kernel sends multicast groups to sockets that did not ..., Christoph Lameter, (Tue Apr 14, 6:53 am)
Re: Kernel sends multicast groups to sockets that did not ..., Christoph Lameter, (Tue Apr 14, 11:33 am)
[PATCH] Multicast: Avoid useless duplication of multicast ..., Christoph Lameter, (Tue Apr 14, 11:48 am)
Re: Kernel sends multicast groups to sockets that did not ..., Christoph Lameter, (Tue Apr 14, 1:16 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Tue Apr 14, 2:45 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Wed Apr 15, 5:51 am)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Vlad Yasevich, (Wed Apr 15, 9:07 am)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Wed Apr 15, 12:17 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Wed Apr 15, 12:21 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Thu Apr 16, 7:45 am)