[PATCH] Re: IP_MAX_MEMBERSHIPS story.

Bruce M Simpson bms at spc.org
Sat May 13 23:03:28 UTC 2006


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


More information about the freebsd-net mailing list