From: Patrick McHardy <kaber@trash.net>
To: hadi@cyberus.ca
Cc: Johannes Berg <johannes@sipsolutions.net>,
netdev <netdev@vger.kernel.org>, Thomas Graf <tgraf@suug.ch>
Subject: Re: multicasting netlink messages to groups > 31 from userspace
Date: Thu, 05 Jul 2007 16:08:12 +0200 [thread overview]
Message-ID: <468CFB4C.7040009@trash.net> (raw)
In-Reply-To: <1183643610.5163.76.camel@localhost>
jamal wrote:
>
>>Looking through the code that uses NL_NONROOT_SEND I just realised that
>>it's impossible to send multicast messages from userspace to multicast
>>groups with IDs higher than 31. That's not really good given that
>>everywhere else we handle multicast groups up to 2^32-1 :/
>
>
> Yes, this is TheWayItHasBeen(tm).
> Patrick had a patch a while back to allow for subscribing to higher
> groups because bind() has a similar issue in that it allows you only to
> subscribe to the first 32. So it is logical to fix connect, and sendmsg
> in a similar fashion.
For sendmsg I'd suggest to use cmsgs as in recvmsg().
next prev parent reply other threads:[~2007-07-05 14:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 19:51 multicasting netlink messages to groups > 31 from userspace Johannes Berg
2007-07-04 12:04 ` Evgeniy Polyakov
2007-07-04 13:54 ` Johannes Berg
2007-07-04 14:12 ` Patrick McHardy
2007-07-04 14:18 ` Johannes Berg
2007-07-04 14:30 ` Patrick McHardy
2007-07-04 14:38 ` Johannes Berg
2007-07-04 14:48 ` Patrick McHardy
2007-07-04 14:56 ` Johannes Berg
2007-07-04 15:00 ` Patrick McHardy
2007-07-04 15:08 ` Johannes Berg
2007-07-05 13:37 ` Patrick McHardy
2007-07-06 10:53 ` Johannes Berg
2007-07-06 15:08 ` jamal
2007-07-05 13:53 ` jamal
2007-07-05 14:08 ` Patrick McHardy [this message]
2007-07-06 10:50 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468CFB4C.7040009@trash.net \
--to=kaber@trash.net \
--cc=hadi@cyberus.ca \
--cc=johannes@sipsolutions.net \
--cc=netdev@vger.kernel.org \
--cc=tgraf@suug.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.