Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 00:03:15 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Stephen Clark <Stephen.Clark@seclark.us>, Robert Watson <rwatson@FreeBSD.org>, freebsd-net@freebsd.org, pavlin@icir.org, atanu@icir.org
Subject:   [PATCH] Re: IP_MAX_MEMBERSHIPS story.
Message-ID:  <20060513230315.GE79277@spc.org>
In-Reply-To: <20060512131227.GD79277@spc.org>
References:  <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> <4463FD1D.9010600@seclark.us> <20060512131227.GD79277@spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On Fri, May 12, 2006 at 02:12:27PM +0100, Bruce M Simpson wrote:
> Therefore, joining the same group 20 times on different interfaces
> would exceed IP_MAX_MEMBERSHIPS.
> Fixing this in any way would still break the ip_mroute_kmod ABI and
> as such is a HEAD change.

A patch for this issue, against FreeBSD 6.1-RELEASE, is now available
at this location:
	http://people.freebsd.org/~bms/ipmaxgroups.diff

The general logic of the patch should also be applicable to other
4.4BSD-derived operating systems; the patch will probably also apply
to HEAD with little or no fuzz.

I have performed some initial testing (using mtest driven via jot to
join a set of ephemeral multicast groups) on a 2-cpu system and it
looks good from here.

I would greatly appreciate further testing, particularly in a production
routing environment such as yours, if at all possible.

When I receive more feedback I will be happy to commit the patch.

Because of the nature of this patch, it will break the ABI with regards
to the ip_mroute kernel module (IPv4 multicast routing), therefore the
patch can only be committed to HEAD for the time being.

Regards,
BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060513230315.GE79277>