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. ------------------------------------------------------------------------- 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 User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel