All of lore.kernel.org
 help / color / mirror / Atom feed
* Is a driver allowed to modify dev->flags?
@ 2003-04-01 16:49 Rask Ingemann Lambertsen
  0 siblings, 0 replies; 5+ messages in thread
From: Rask Ingemann Lambertsen @ 2003-04-01 16:49 UTC (permalink / raw)
  To: linux-net, netdev


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-04-02 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3e89c32348ce76.94538914@not right>
2003-04-01 16:58 ` Is a driver allowed to modify dev->flags? Ben Greear
2003-04-01 17:26 ` Donald Becker
2003-04-01 17:40   ` Rask Ingemann Lambertsen
2003-04-02 13:01 ` Rask Ingemann Lambertsen
2003-04-01 16:49 Rask Ingemann Lambertsen

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.