Hi.
Is a network device driver allowed to modify dev->flags? For example:
if (dev->flags & IFF_ALLMULTI) dev->flags |= IFF_PROMISC;
I've found it to cause the IFF_PROMISC flag to stick when using "tcpdump -p", which to my surprice sets the IFF_ALLMULTI flag.
Regards, Rask Ingemann Lambertsen
You are supposed to increment the promisc requestors. I think something like this:
dev_set_promiscuity(dev, 1);
-- Ben Greear <greearb@candelatech.com> <Ben_Greear AT excite.com> President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html