From: Patrick McHardy <[EMAIL PROTECTED]>
Date: Wed, 26 Mar 2008 07:13:51 +0100
> Jeff Garzik wrote:
> >> 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...
>
>
> I kept it so SIOCADDMULTI/SIOCDELMULTI ioctls continue to
> work on UML devices. I don't know if any userspace applications
> check for errors when using these ioctls, this way nothing
> can break.
Good idea, patch applied to net-2.6, thanks!
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel