In article <[EMAIL PROTECTED]> (at Fri, 1 Jul 2005 18:15:50 -0600), David Stevens <[EMAIL PROTECTED]> says:
> This patch corrects a few problems with the IP_ADD_MEMBERSHIP > socket option: > 1) The existing code makes an attempt at reference counting joins when > using the ip_mreqn/imr_ifindex interface. Joining the same group > on the same socket is an error, whatever the API. This leads to > unexpected results when mixing ip_mreqn by index with ip_mreqn by > address, ip_mreq, or other API's. For example, ip_mreq followed by > ip_mreqn of the same group will "work" while the same two reversed > will not. > Fixed to always return EADDRINUSE on a duplicate join and > removed the (now unused) reference count in ip_mc_socklist. Well, I disagree for leaving case. It should be EADDRNOTAVAIL or EINVAL. --yoshfuji - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html