From: Jeff Garzik <jeff@garzik.org>
To: Patrick McHardy <kaber@trash.net>
Cc: jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net,
Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: [UML]: uml-net: don't set IFF_ALLMULTI in set_multicast_list
Date: Wed, 26 Mar 2008 02:10:21 -0400 [thread overview]
Message-ID: <47E9E8CD.1060408@garzik.org> (raw)
In-Reply-To: <47E9E331.1010105@trash.net>
> static void uml_net_set_multicast_list(struct net_device *dev)
> {
> - if (dev->flags & IFF_PROMISC)
> - return;
> - else if (dev->mc_count)
> - dev->flags |= IFF_ALLMULTI;
> - else dev->flags &= ~IFF_ALLMULTI;
> + return;
> }
Might as well just delete the hook at that point...
Jeff
next prev parent reply other threads:[~2008-03-26 6:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 5:46 [UML]: uml-net: don't set IFF_ALLMULTI in set_multicast_list Patrick McHardy
2008-03-26 6:10 ` Jeff Garzik [this message]
2008-03-26 6:13 ` Patrick McHardy
2008-03-26 7:16 ` David Miller
2008-03-31 14:09 ` Jeff Dike
2008-03-31 17:46 ` Patrick McHardy
2008-04-01 15:39 ` Jeff Dike
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=47E9E8CD.1060408@garzik.org \
--to=jeff@garzik.org \
--cc=jdike@addtoit.com \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).