Messages in this thread |  | | | Date | Thu, 06 Dec 2007 22:40:05 -0800 (PST) | | Subject | Re: New Address Family: Inter Process Networking (IPN) | | From | David Miller <> | |
From: "Chris Friesen" <cfriesen@nortel.com>
Date: Thu, 06 Dec 2007 22:21:39 -0600
> David Miller wrote:
> > From: "Chris Friesen" <cfriesen@nortel.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.
|  |