| To: | linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Is a driver allowed to modify dev->flags? |
| From: | rask@xxxxxxxxxx (Rask Ingemann Lambertsen) |
| Date: | Tue, 1 Apr 2003 18:49:39 +0200 |
| Reply-to: | rask@xxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [Bonding][patch] Adding Transmit load balancing mode to bondi ng, Hen, Shmulik |
|---|---|
| Next by Date: | Re: Is a driver allowed to modify dev->flags?, Ben Greear |
| Previous by Thread: | RE: [Bonding][patch] Adding Transmit load balancing mode to bondi ng, Hen, Shmulik |
| Next by Thread: | Re: Is a driver allowed to modify dev->flags?, Ben Greear |
| Indexes: | [Date] [Thread] [Top] [All Lists] |