[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071206.224005.42816421.davem@davemloft.net>
Date: Thu, 06 Dec 2007 22:40:05 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: cfriesen@...tel.com
Cc: andi@...stfloor.org, renzo@...unibo.it,
linux-kernel@...r.kernel.org
Subject: Re: New Address Family: Inter Process Networking (IPN)
From: "Chris Friesen" <cfriesen@...tel.com>
Date: Thu, 06 Dec 2007 22:21:39 -0600
> David Miller wrote:
> > From: "Chris Friesen" <cfriesen@...tel.com>
> > Date: Thu, 06 Dec 2007 14:36:54 -0600
> >
> >
> >>One problem we ran into was that there are only 32 multicast groups per
> >>netlink protocol family.
> >
> >
> > I'm pretty sure we've removed this limitation.
>
> As of 2.6.23 nl_groups is a 32-bit bitmask with one bit per group.
> Also, it appears that only root is allowed to use multicast netlink.
The kernel supports much more than 32 groups, see nlk->groups which is
a bitmap which can be sized to arbitrary sizes. nlk->nl_groups is
for backwards compatability only.
netlink_change_ngroups() does the bitmap resizing when necessary.
The root multicast listening restriction can be relaxed in some
circumstances, whatever is needed to fill your needs.
Stop making excuses, with minor adjustments we have the facilities to
meet your needs. There is no need for yet-another-protocol to do what
you're trying to do, we already have too much duplicated
functionality.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists