> In general the ifindexes are designed to not be reused very fast. Some parts of multicast group management rely on this. You need to remove group memberships from a socket when an interface has disappeared, e.g. a VPN interface has gone away. You can pass the ifindex of the no longer existing interface when removing the group memberships. If that ifindex has been re-used, you are going to have interesting race conditions.
Andrew -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html